Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_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.001231/0.001231, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.002101/0.002102, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 55.92 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1487, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005394/0.1542, allocations: 2.816 MB / 378 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1565, allocations: 0.7524 MB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.1568, allocations: 7.938 kB / 378.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.1571, allocations: 43.58 kB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.1574, allocations: 103.1 kB / 378.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.1579, allocations: 107.8 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.1584, allocations: 390.3 kB / 379.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.1588, allocations: 96.92 kB / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.1591, allocations: 155.3 kB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3467/0.5058, allocations: 156.6 kB / 379.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5061, allocations: 32.47 kB / 379.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.5063, allocations: 32.91 kB / 379.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.5064, allocations: 70.34 kB / 379.9 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.5067, allocations: 161.3 kB / 380.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.5075, allocations: 360.5 kB / 380.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.5075, allocations: 0.7812 kB / 380.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5075, allocations: 0 / 380.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5075, allocations: 0 / 380.4 MB, free: 9.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001706/0.5093, allocations: 0.664 MB / 381.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.5093, allocations: 9.625 kB / 381.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.5094, allocations: 33.09 kB / 381.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.5101, allocations: 289.7 kB / 381.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5102, allocations: 16.66 kB / 381.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.5102, allocations: 24.84 kB / 381.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.5111, allocations: 266 kB / 381.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5111, allocations: 11.56 kB / 381.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.5112, allocations: 13.73 kB / 381.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.5112, allocations: 7 kB / 381.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.5122, allocations: 265.4 kB / 382 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.5148, allocations: 0.8831 MB / 382.9 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.5161, allocations: 342.1 kB / 383.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.5166, allocations: 137.2 kB / 383.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.5167, allocations: 2.266 kB / 383.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.5173, allocations: 194.6 kB / 383.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.5174, allocations: 0 / 383.5 MB, free: 8.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002508/0.5199, allocations: 0.5724 MB / 384.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.52, allocations: 110.8 kB / 384.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.5204, allocations: 272.2 kB / 384.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.5205, allocations: 31.45 kB / 384.5 MB, free: 8.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.5207, allocations: 179.4 kB / 384.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.5207, allocations: 56.31 kB / 384.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.5209, allocations: 53.64 kB / 384.8 MB, free: 7.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.521, allocations: 338.8 kB / 385.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.5214, allocations: 104.4 kB / 385.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.5218, allocations: 167.6 kB / 385.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007844/0.5226, allocations: 275.9 kB / 385.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5227, allocations: 4.812 kB / 385.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001234/0.5239, allocations: 417.5 kB / 386.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.524, allocations: 39.06 kB / 386.1 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.524, allocations: 2.625 kB / 386.1 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.5245, allocations: 86.86 kB / 386.2 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.5249, allocations: 63.88 kB / 386.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5268, allocations: 1.561 MB / 387.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.5273, allocations: 46.31 kB / 387.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.5273, allocations: 12.73 kB / 387.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005048/0.5279, allocations: 193.5 kB / 388.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003726/0.5282, allocations: 160.3 kB / 388.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006307/0.5289, allocations: 259.4 kB / 388.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.5289, allocations: 0 / 388.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008972/0.5298, allocations: 345.2 kB / 388.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.5298, allocations: 33.5 kB / 388.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5299, allocations: 6.094 kB / 388.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.53, allocations: 24.64 kB / 388.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.5303, allocations: 60.69 kB / 388.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.5313, allocations: 1.555 MB / 390.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.5317, allocations: 43.05 kB / 390.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.5318, allocations: 10.06 kB / 390.6 MB, free: 3.758 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.532, allocations: 197.9 kB / 390.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.5321, allocations: 32.78 kB / 390.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.5322, allocations: 27.88 kB / 390.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5322, allocations: 1.438 kB / 390.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5322, allocations: 1.344 kB / 390.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.5322, allocations: 1.5 kB / 390.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.534, allocations: 0.7085 MB / 391.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.534, allocations: 0 / 391.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.5343, allocations: 41.39 kB / 391.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.5345, allocations: 50.75 kB / 391.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.5346, allocations: 4.109 kB / 391.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.5361, allocations: 1.552 MB / 393.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5361, allocations: 4.5 kB / 393.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.5375, allocations: 0.5008 MB / 393.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5377, allocations: 105.3 kB / 393.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.5377, allocations: 8.109 kB / 393.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.538, allocations: 34.11 kB / 393.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.5382, allocations: 24.05 kB / 393.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.5382, allocations: 5.562 kB / 393.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.5385, allocations: 191.7 kB / 394 MB, free: 1.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5385, allocations: 0 / 394 MB, free: 1.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008715/0.5394, allocations: 135.2 kB / 394.2 MB, free: 1.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.5396, allocations: 108.5 kB / 394.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.5414, allocations: 0.7013 MB / 395 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5414, allocations: 4.875 kB / 395 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.542, allocations: 239.1 kB / 395.2 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.5425, allocations: 54.69 kB / 395.3 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.544, allocations: 0.5448 MB / 395.8 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.5445, allocations: 0.7601 MB / 396.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.5447, allocations: 33.17 kB / 396.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.5448, allocations: 21.78 kB / 396.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5448, allocations: 0 / 396.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Templates: time 0.01346/0.5582, allocations: 4.288 MB / 400.9 MB, free: 14.61 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches