Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 96.14 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 200 kB / 18.28 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002108, allocations: 8 kB / 307.8 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1153, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003839/0.1192, allocations: 2.765 MB / 362 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1213, allocations: 0.7911 MB / 362.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.1217, allocations: 4 kB / 362.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1219, allocations: 39.69 kB / 362.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.1224, allocations: 103.2 kB / 363 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.1229, allocations: 111.9 kB / 363.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.1236, allocations: 430.3 kB / 363.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.124, allocations: 119.5 kB / 363.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.1245, allocations: 151.3 kB / 363.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.1249, allocations: 167.1 kB / 363.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.125, allocations: 24 kB / 364 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.1251, allocations: 23.94 kB / 364 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.517e-05/0.1252, allocations: 59.7 kB / 364 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.1255, allocations: 192.8 kB / 364.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.126, allocations: 470.5 kB / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.126, allocations: 0 / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.126, allocations: 0 / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.126, allocations: 0 / 364.7 MB, free: 7.852 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.001379/0.1274, allocations: 0.6721 MB / 365.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1274, allocations: 8.031 kB / 365.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.1276, allocations: 36.56 kB / 365.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.128, allocations: 306.6 kB / 365.7 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.1281, allocations: 20.94 kB / 365.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.1281, allocations: 32.38 kB / 365.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.129, allocations: 367.5 kB / 366.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.129, allocations: 7.938 kB / 366.1 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1291, allocations: 12 kB / 366.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1291, allocations: 4 kB / 366.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/0.13, allocations: 334 kB / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.1322, allocations: 1.311 MB / 367.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.1332, allocations: 375.4 kB / 368.1 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.1336, allocations: 156.8 kB / 368.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1337, allocations: 4 kB / 368.3 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005849/0.1343, allocations: 205.8 kB / 368.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/0.1343, allocations: 0 / 368.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002245/0.1365, allocations: 0.7163 MB / 369.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.1366, allocations: 106.8 kB / 369.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.137, allocations: 298.9 kB / 369.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.137, allocations: 33.7 kB / 369.6 MB, free: 2.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1372, allocations: 204.2 kB / 369.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.1372, allocations: 63.19 kB / 369.9 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1373, allocations: 29.7 kB / 369.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1374, allocations: 334.8 kB / 370.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.1378, allocations: 136.2 kB / 370.4 MB, free: 1.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.1382, allocations: 229.4 kB / 370.6 MB, free: 1.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.139, allocations: 374.8 kB / 371 MB, free: 1.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1391, allocations: 4 kB / 371 MB, free: 1.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001308/0.1404, allocations: 0.5036 MB / 371.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.1404, allocations: 45.7 kB / 371.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.1404, allocations: 7.938 kB / 371.5 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.1408, allocations: 64.81 kB / 371.6 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.1411, allocations: 79.88 kB / 371.7 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2452/0.3863, allocations: 1.54 MB / 373.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.3869, allocations: 69.09 kB / 373.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.387, allocations: 13.05 kB / 373.3 MB, free: 18.22 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 (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.0002444/0.3872, allocations: 152.4 kB / 373.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.3873, allocations: 31.22 kB / 373.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.3873, allocations: 31.28 kB / 373.5 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3874, allocations: 1.969 kB / 373.5 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3874, allocations: 1.375 kB / 373.5 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3874, allocations: 4.406 kB / 373.5 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.3892, allocations: 0.8347 MB / 374.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3892, allocations: 1.766 kB / 374.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.3895, allocations: 45.7 kB / 374.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.3898, allocations: 72.16 kB / 374.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3898, allocations: 2.203 kB / 374.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.3917, allocations: 1.554 MB / 376 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3917, allocations: 1.125 kB / 376 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3934, allocations: 0.6101 MB / 376.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.3935, allocations: 106.7 kB / 376.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.3936, allocations: 6.25 kB / 376.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.3939, allocations: 46.45 kB / 376.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.394, allocations: 23.17 kB / 376.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.394, allocations: 5.094 kB / 376.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.3944, allocations: 211.3 kB / 377 MB, free: 16.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3944, allocations: 4 kB / 377 MB, free: 16.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.3949, allocations: 79.5 kB / 377.1 MB, free: 16.17 MB / 302.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.0001552/0.395, allocations: 106.5 kB / 377.2 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3963, allocations: 472.1 kB / 377.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3963, allocations: 1.594 kB / 377.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.3969, allocations: 259 kB / 377.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3974, allocations: 61.09 kB / 378 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.4006, allocations: 1.024 MB / 379 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.401, allocations: 0.7606 MB / 379.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.4011, allocations: 31.38 kB / 379.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.4012, allocations: 23.34 kB / 379.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4012, allocations: 0 / 379.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01038/0.4116, allocations: 3.877 MB / 383.7 MB, free: 14.35 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches