Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001688, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 66.77 kB / 306.3 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 50.53 MB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005159/0.1158, allocations: 3.135 MB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1174, allocations: 0.7949 MB / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.1178, allocations: 4 kB / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1181, allocations: 43.69 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.1184, allocations: 95.28 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1187, allocations: 123.8 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.1192, allocations: 418.3 kB / 361.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.1195, allocations: 123.5 kB / 361.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.1199, allocations: 167.3 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1202, allocations: 171.2 kB / 361.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.1203, allocations: 24 kB / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.1203, allocations: 24 kB / 361.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1204, allocations: 67.69 kB / 362 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1206, allocations: 179 kB / 362.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.1211, allocations: 478.6 kB / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1211, allocations: 0 / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1211, allocations: 4 kB / 362.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1211, allocations: 0 / 362.6 MB, free: 8.633 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001474/0.1226, allocations: 0.7031 MB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1227, allocations: 16.03 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.1228, allocations: 32.56 kB / 363.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.1232, allocations: 310.6 kB / 363.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1232, allocations: 24.94 kB / 363.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.1233, allocations: 28.38 kB / 363.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.1241, allocations: 351.5 kB / 364.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1241, allocations: 0 / 364.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.1241, allocations: 16 kB / 364.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.1241, allocations: 8 kB / 364.1 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.125, allocations: 306 kB / 364.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.1273, allocations: 1.278 MB / 365.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.128, allocations: 230.4 kB / 365.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.1284, allocations: 120.8 kB / 366 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1285, allocations: 0 / 366 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/0.129, allocations: 189.7 kB / 366.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.1291, allocations: 0 / 366.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002475/0.1315, allocations: 0.6887 MB / 366.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.1316, allocations: 114.8 kB / 367 MB, free: 3.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.1321, allocations: 294.9 kB / 367.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1321, allocations: 29.7 kB / 367.3 MB, free: 3.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.1324, allocations: 211.5 kB / 367.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.1324, allocations: 51.28 kB / 367.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1325, allocations: 49.7 kB / 367.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1327, allocations: 342.8 kB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.1331, allocations: 111.9 kB / 368.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.1336, allocations: 215.9 kB / 368.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.1344, allocations: 323.8 kB / 368.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1344, allocations: 0 / 368.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001354/0.1358, allocations: 493.8 kB / 369.1 MB, free: 1.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.1358, allocations: 37.62 kB / 369.1 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1359, allocations: 4 kB / 369.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.1363, allocations: 84.88 kB / 369.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1366, allocations: 55.89 kB / 369.3 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1739/0.3105, allocations: 1.791 MB / 371 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.311, allocations: 57.77 kB / 371.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3111, allocations: 14.06 kB / 371.1 MB, free: 19.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.3112, allocations: 157.7 kB / 371.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.3113, allocations: 31.33 kB / 371.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.3114, allocations: 30.64 kB / 371.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3114, allocations: 2.219 kB / 371.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3114, allocations: 0.6562 kB / 371.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3114, allocations: 4.453 kB / 371.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.3117, allocations: 343.2 kB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3117, allocations: 0.6875 kB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.312, allocations: 31.8 kB / 371.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.3123, allocations: 82.25 kB / 371.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3123, allocations: 5.188 kB / 371.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.3142, allocations: 1.684 MB / 373.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3142, allocations: 0 / 373.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3157, allocations: 495.2 kB / 374 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.3158, allocations: 104.2 kB / 374.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.3158, allocations: 5.219 kB / 374.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.3161, allocations: 37.06 kB / 374.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.3162, allocations: 26.39 kB / 374.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3162, allocations: 8.141 kB / 374.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.3165, allocations: 210.8 kB / 374.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3165, allocations: 4.062 kB / 374.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004678/0.3169, allocations: 83.2 kB / 374.4 MB, free: 17.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.3171, allocations: 111 kB / 374.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3182, allocations: 449 kB / 375 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3182, allocations: 0 / 375 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.3188, allocations: 237.1 kB / 375.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3191, allocations: 50.5 kB / 375.2 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.3204, allocations: 0.6998 MB / 375.9 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3206, allocations: 0.7649 MB / 376.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.3208, allocations: 28.34 kB / 376.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.3208, allocations: 20.38 kB / 376.8 MB, free: 16.03 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3208, allocations: 1.375 kB / 376.8 MB, free: 16.03 MB / 302.1 MB Notification: Performance of Templates: time 0.00911/0.33, allocations: 4.074 MB / 380.8 MB, free: 15.76 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches