Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001383, allocations: 109.8 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4531, allocations: 49.42 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004694/0.4579, allocations: 3.086 MB / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4593, allocations: 0.7637 MB / 404.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.4595, allocations: 7.938 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.4597, allocations: 51.5 kB / 404.7 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.46, allocations: 123 kB / 404.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.4603, allocations: 119.8 kB / 404.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.4608, allocations: 466.2 kB / 405.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.4611, allocations: 126.9 kB / 405.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.4614, allocations: 179.3 kB / 405.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.4616, allocations: 187.2 kB / 405.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.4617, allocations: 44 kB / 405.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.4618, allocations: 48 kB / 405.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.4619, allocations: 87.67 kB / 406 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.4622, allocations: 195.1 kB / 406.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.4628, allocations: 499.4 kB / 406.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4628, allocations: 4 kB / 406.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4628, allocations: 0 / 406.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4628, allocations: 0 / 406.7 MB, free: 2.926 MB / 318.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.001747/0.4646, allocations: 0.7032 MB / 407.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.4646, allocations: 11.89 kB / 407.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4648, allocations: 40.47 kB / 407.4 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.4653, allocations: 306.7 kB / 407.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4654, allocations: 24.88 kB / 407.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.4655, allocations: 24.38 kB / 407.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.4662, allocations: 359.5 kB / 408.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4663, allocations: 3.984 kB / 408.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.4663, allocations: 12 kB / 408.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4663, allocations: 4 kB / 408.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.4672, allocations: 306 kB / 408.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.4695, allocations: 1.274 MB / 409.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.4701, allocations: 226.4 kB / 410 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.4705, allocations: 113 kB / 410.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.4705, allocations: 7.984 kB / 410.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.471, allocations: 200.9 kB / 410.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.471, allocations: 3.938 kB / 410.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002311/0.4733, allocations: 0.6862 MB / 411 MB, free: 14.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4734, allocations: 106.8 kB / 411.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.4738, allocations: 294.9 kB / 411.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.4739, allocations: 37.69 kB / 411.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.4741, allocations: 199.6 kB / 411.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.4741, allocations: 55.34 kB / 411.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.4742, allocations: 53.61 kB / 411.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4745, allocations: 338.8 kB / 412 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.4748, allocations: 107.9 kB / 412.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.4752, allocations: 220.4 kB / 412.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.4759, allocations: 327.8 kB / 412.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4759, allocations: 0 / 412.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00118/0.4771, allocations: 486.2 kB / 413.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.4772, allocations: 41.64 kB / 413.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4772, allocations: 4 kB / 413.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.4776, allocations: 80.8 kB / 413.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.4779, allocations: 63.95 kB / 413.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.4805, allocations: 1.997 MB / 415.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.4808, allocations: 55.66 kB / 415.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.4809, allocations: 20.05 kB / 415.4 MB, free: 9.656 MB / 334.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.0001828/0.4811, allocations: 154 kB / 415.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4811, allocations: 27.62 kB / 415.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.4812, allocations: 25.86 kB / 415.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.4812, allocations: 7.938 kB / 415.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4812, allocations: 0 / 415.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4812, allocations: 0 / 415.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.4815, allocations: 341.4 kB / 415.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4816, allocations: 0 / 415.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.4817, allocations: 35.91 kB / 416 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.482, allocations: 80.8 kB / 416.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.482, allocations: 0 / 416.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.4843, allocations: 1.816 MB / 417.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4843, allocations: 0 / 417.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.4856, allocations: 0.5007 MB / 418.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.4857, allocations: 104.8 kB / 418.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.4857, allocations: 7.938 kB / 418.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.486, allocations: 31.95 kB / 418.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.4861, allocations: 23.97 kB / 418.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4861, allocations: 8.062 kB / 418.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.4864, allocations: 210 kB / 418.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4864, allocations: 0 / 418.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.4868, allocations: 83.78 kB / 418.8 MB, free: 5.98 MB / 334.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.0001936/0.487, allocations: 111.2 kB / 418.9 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.488, allocations: 449.6 kB / 419.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.488, allocations: 0 / 419.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.4885, allocations: 247.2 kB / 419.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.4889, allocations: 49.05 kB / 419.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4901, allocations: 0.5828 MB / 420.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4905, allocations: 0.7639 MB / 421 MB, free: 3.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.4906, allocations: 30.97 kB / 421 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.4907, allocations: 19.44 kB / 421.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4907, allocations: 0 / 421.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of Templates: time 0.009583/0.5003, allocations: 4.468 MB / 425.5 MB, free: 15.22 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches