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.001182/0.001182, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.44 kB / 306.9 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004268/0.1227, allocations: 3.088 MB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.124, allocations: 0.7948 MB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.1242, allocations: 11.94 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1243, allocations: 51.5 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1246, allocations: 119 kB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1249, allocations: 127.8 kB / 361.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.1253, allocations: 458.3 kB / 362.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.1256, allocations: 142.9 kB / 362.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.1259, allocations: 179.3 kB / 362.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1261, allocations: 203.1 kB / 362.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.1262, allocations: 44 kB / 362.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.1263, allocations: 44 kB / 362.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.1263, allocations: 87.69 kB / 362.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1265, allocations: 195.1 kB / 363 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.127, allocations: 0.4908 MB / 363.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.127, allocations: 0 / 363.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.127, allocations: 0 / 363.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.127, allocations: 0 / 363.5 MB, free: 8.047 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.001348/0.1283, allocations: 0.7148 MB / 364.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1284, allocations: 12.03 kB / 364.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.1285, allocations: 36.56 kB / 364.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.1288, allocations: 310.6 kB / 364.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1289, allocations: 20.94 kB / 364.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.1289, allocations: 28.38 kB / 364.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.1297, allocations: 355.5 kB / 364.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1297, allocations: 3.984 kB / 364.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.1297, allocations: 12 kB / 365 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1297, allocations: 8 kB / 365 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.1306, allocations: 310 kB / 365.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1327, allocations: 1.264 MB / 366.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007914/0.1335, allocations: 339.5 kB / 366.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.1339, allocations: 144.7 kB / 367 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1339, allocations: 0 / 367 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.1345, allocations: 197.8 kB / 367.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.1345, allocations: 0 / 367.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002149/0.1367, allocations: 0.6433 MB / 367.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.1367, allocations: 106.8 kB / 367.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.1371, allocations: 294.9 kB / 368.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1371, allocations: 29.7 kB / 368.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1373, allocations: 208.2 kB / 368.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.1373, allocations: 59.2 kB / 368.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.1374, allocations: 53.7 kB / 368.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1376, allocations: 334.8 kB / 368.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.1379, allocations: 120.2 kB / 369 MB, free: 2.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.1384, allocations: 213.3 kB / 369.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.1392, allocations: 334.7 kB / 369.6 MB, free: 1.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.1392, allocations: 4 kB / 369.6 MB, free: 1.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001328/0.1405, allocations: 491.6 kB / 370 MB, free: 1.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.1406, allocations: 37.7 kB / 370.1 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1406, allocations: 7.984 kB / 370.1 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.1409, allocations: 68.75 kB / 370.2 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1412, allocations: 75.88 kB / 370.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.215/0.3562, allocations: 1.622 MB / 371.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.3566, allocations: 60.7 kB / 371.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.3567, allocations: 13.52 kB / 371.9 MB, free: 19.12 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.0001675/0.3569, allocations: 152.8 kB / 372.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.3569, allocations: 30.28 kB / 372.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.357, allocations: 29.88 kB / 372.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.357, allocations: 2.203 kB / 372.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.357, allocations: 0.875 kB / 372.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.357, allocations: 1.406 kB / 372.1 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.3586, allocations: 0.7961 MB / 372.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3586, allocations: 4.375 kB / 372.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.3589, allocations: 44.64 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.3591, allocations: 64.08 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3592, allocations: 5.531 kB / 373 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.361, allocations: 1.626 MB / 374.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3611, allocations: 6.219 kB / 374.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3627, allocations: 0.5655 MB / 375.2 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.3628, allocations: 111.1 kB / 375.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.3628, allocations: 7.219 kB / 375.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.3631, allocations: 34.22 kB / 375.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.3632, allocations: 22.67 kB / 375.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3632, allocations: 8.266 kB / 375.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.3635, allocations: 209.5 kB / 375.6 MB, free: 17.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3635, allocations: 0 / 375.6 MB, free: 17.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.364, allocations: 84.31 kB / 375.7 MB, free: 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.0001647/0.3642, allocations: 106.3 kB / 375.8 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3653, allocations: 450.4 kB / 376.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3653, allocations: 1.375 kB / 376.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.3657, allocations: 248 kB / 376.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3662, allocations: 56.67 kB / 376.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.369, allocations: 0.8364 MB / 377.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3693, allocations: 0.7653 MB / 378.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.3695, allocations: 33.77 kB / 378.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.3696, allocations: 23.36 kB / 378.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3696, allocations: 0 / 378.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01036/0.3799, allocations: 4.279 MB / 382.5 MB, free: 15.25 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