Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 113.9 kB / 17.07 MB, free: 5.973 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.001091/0.001092, allocations: 198.8 kB / 18 MB, free: 5.059 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.5/1.5, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 43.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4279, allocations: 49.44 MB / 400.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005149/0.4332, allocations: 3.077 MB / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4346, allocations: 0.7715 MB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.4348, allocations: 4 kB / 404.6 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.4351, allocations: 51.5 kB / 404.7 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.4354, allocations: 119 kB / 404.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.4358, allocations: 119.8 kB / 404.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.4363, allocations: 470.2 kB / 405.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.4366, allocations: 138.9 kB / 405.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.4369, allocations: 175.3 kB / 405.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.4372, allocations: 195.2 kB / 405.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.4373, allocations: 44 kB / 405.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.4373, allocations: 44 kB / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4375, allocations: 83.69 kB / 406 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.4377, allocations: 195.1 kB / 406.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.4384, allocations: 0.4916 MB / 406.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4384, allocations: 4 kB / 406.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4384, allocations: 4 kB / 406.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4384, allocations: 0 / 406.7 MB, free: 2.895 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.001367/0.4398, allocations: 0.7032 MB / 407.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4398, allocations: 15.83 kB / 407.4 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.645e-05/0.4399, allocations: 40.47 kB / 407.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.4404, allocations: 314.6 kB / 407.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.4404, allocations: 20.94 kB / 407.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.4405, allocations: 32.31 kB / 407.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.4412, allocations: 359.5 kB / 408.2 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4412, allocations: 0 / 408.2 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.4412, allocations: 12 kB / 408.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4412, allocations: 8 kB / 408.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007683/0.442, allocations: 302 kB / 408.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.4442, allocations: 1.264 MB / 409.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.4449, allocations: 343.4 kB / 410.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.4453, allocations: 136.8 kB / 410.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.4454, allocations: 0 / 410.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.4458, allocations: 200.5 kB / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.4458, allocations: 0 / 410.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001931/0.4478, allocations: 0.6433 MB / 411.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.4479, allocations: 110.7 kB / 411.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.4482, allocations: 299.2 kB / 411.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.4483, allocations: 25.7 kB / 411.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4484, allocations: 211.9 kB / 411.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.4485, allocations: 51.27 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.4486, allocations: 61.59 kB / 411.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4487, allocations: 334.8 kB / 412.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.449, allocations: 116.2 kB / 412.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.4494, allocations: 217.3 kB / 412.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.4501, allocations: 341.4 kB / 412.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4502, allocations: 0 / 412.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001183/0.4513, allocations: 489.7 kB / 413.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.4514, allocations: 33.69 kB / 413.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4514, allocations: 4 kB / 413.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/0.4518, allocations: 68.88 kB / 413.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.4521, allocations: 67.89 kB / 413.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.4544, allocations: 1.636 MB / 415.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4548, allocations: 55.8 kB / 415.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.4548, allocations: 16 kB / 415.1 MB, free: 9.883 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.455, allocations: 154.2 kB / 415.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.4551, allocations: 31.66 kB / 415.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.4551, allocations: 30.14 kB / 415.4 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4551, allocations: 4 kB / 415.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4551, allocations: 4 kB / 415.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4551, allocations: 3.984 kB / 415.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.4566, allocations: 0.7914 MB / 416.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4566, allocations: 0 / 416.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.4568, allocations: 51.94 kB / 416.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.457, allocations: 56.81 kB / 416.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.4571, allocations: 4 kB / 416.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.4589, allocations: 1.633 MB / 417.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4589, allocations: 4 kB / 417.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4602, allocations: 0.5652 MB / 418.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.4603, allocations: 104.8 kB / 418.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.4604, allocations: 4 kB / 418.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.4606, allocations: 35.95 kB / 418.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.4607, allocations: 20.05 kB / 418.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.4608, allocations: 11.98 kB / 418.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.461, allocations: 210 kB / 418.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.461, allocations: 0 / 418.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.4614, allocations: 79.75 kB / 418.9 MB, free: 5.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.4615, allocations: 111.2 kB / 419 MB, free: 5.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.4625, allocations: 453.6 kB / 419.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4625, allocations: 0.6875 kB / 419.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.463, allocations: 242.6 kB / 419.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.4635, allocations: 59.48 kB / 419.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4661, allocations: 0.8341 MB / 420.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.4665, allocations: 0.7677 MB / 421.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.4667, allocations: 30.97 kB / 421.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.4668, allocations: 23.44 kB / 421.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4668, allocations: 0 / 421.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Templates: time 0.00978/0.4766, allocations: 4.323 MB / 425.8 MB, free: 14.97 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches