Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001489/0.001489, allocations: 187 kB / 18.67 MB, free: 4.402 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.854/1.854, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001226/0.001226, allocations: 51.92 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.004755/0.1447, allocations: 2.703 MB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1465, allocations: 0.7212 MB / 378.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.1468, allocations: 4 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1471, allocations: 43.56 kB / 378.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1474, allocations: 91.25 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1478, allocations: 95.81 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.1483, allocations: 350.5 kB / 379.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.1486, allocations: 88.69 kB / 379.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1488, allocations: 139.4 kB / 379.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1491, allocations: 147.3 kB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.1491, allocations: 28 kB / 379.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.1492, allocations: 36 kB / 379.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.1493, allocations: 55.83 kB / 379.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3144/0.4637, allocations: 150.4 kB / 379.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.4644, allocations: 322.5 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4644, allocations: 1.062 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4644, allocations: 0 / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.4644, allocations: 0 / 380.1 MB, free: 10.1 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001272/0.4657, allocations: 0.6464 MB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.4658, allocations: 9.281 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.4659, allocations: 32.53 kB / 380.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.4663, allocations: 283.9 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.4663, allocations: 15.69 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.4664, allocations: 20.75 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.467, allocations: 245.8 kB / 381.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4671, allocations: 4.703 kB / 381.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.4671, allocations: 12.59 kB / 381.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4671, allocations: 7.984 kB / 381.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.4679, allocations: 251.5 kB / 381.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.4695, allocations: 0.8621 MB / 382.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.4704, allocations: 224.9 kB / 382.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.4707, allocations: 98.77 kB / 382.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.4708, allocations: 1.562 kB / 382.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.4713, allocations: 171.9 kB / 383 MB, free: 8.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.295e-06/0.4713, allocations: 0 / 383 MB, free: 8.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00216/0.4735, allocations: 0.5949 MB / 383.6 MB, free: 8.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4735, allocations: 106.2 kB / 383.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.4739, allocations: 252.6 kB / 383.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4739, allocations: 36.5 kB / 384 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.4741, allocations: 174.6 kB / 384.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.4741, allocations: 45.95 kB / 384.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4742, allocations: 43.22 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.4743, allocations: 341.2 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.4747, allocations: 97.89 kB / 384.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.475, allocations: 161.4 kB / 384.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.4757, allocations: 260.3 kB / 385.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4757, allocations: 0.5625 kB / 385.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001172/0.4769, allocations: 411 kB / 385.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.4769, allocations: 34.81 kB / 385.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4769, allocations: 1.938 kB / 385.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.4775, allocations: 113.5 kB / 385.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.4777, allocations: 41.41 kB / 385.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.48, allocations: 1.89 MB / 387.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.4803, allocations: 49.7 kB / 387.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.4804, allocations: 10.03 kB / 387.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003952/0.4808, allocations: 177.5 kB / 387.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003493/0.4812, allocations: 145.2 kB / 387.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005579/0.4817, allocations: 224.4 kB / 388.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.335e-06/0.4817, allocations: 1.219 kB / 388.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009151/0.4827, allocations: 334.5 kB / 388.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.4827, allocations: 43.41 kB / 388.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4827, allocations: 1.406 kB / 388.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.4829, allocations: 44.81 kB / 388.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.4831, allocations: 34.67 kB / 388.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.4844, allocations: 1.724 MB / 390.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.4847, allocations: 43.81 kB / 390.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4847, allocations: 10.28 kB / 390.4 MB, free: 3.91 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 (18): * Single equations (assignments): 16 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.4849, allocations: 208.7 kB / 390.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.485, allocations: 27.33 kB / 390.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.485, allocations: 26.3 kB / 390.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.485, allocations: 6.984 kB / 390.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4851, allocations: 0 / 390.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4851, allocations: 0.8438 kB / 390.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.4854, allocations: 296.1 kB / 390.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4854, allocations: 0 / 390.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4856, allocations: 21.08 kB / 390.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.4858, allocations: 65.08 kB / 391 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4859, allocations: 5.875 kB / 391 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.4875, allocations: 1.717 MB / 392.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4875, allocations: 0 / 392.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.4885, allocations: 325 kB / 393 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.4886, allocations: 97.06 kB / 393.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.4886, allocations: 6.703 kB / 393.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4889, allocations: 27.31 kB / 393.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.489, allocations: 23.45 kB / 393.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.489, allocations: 8.906 kB / 393.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.4893, allocations: 187.6 kB / 393.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4893, allocations: 1.125 kB / 393.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007359/0.49, allocations: 124.5 kB / 393.5 MB, free: 1.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.4902, allocations: 107 kB / 393.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.4916, allocations: 0.6883 MB / 394.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4917, allocations: 0.6875 kB / 394.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.4921, allocations: 237.3 kB / 394.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.4925, allocations: 52.11 kB / 394.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.4936, allocations: 454.3 kB / 395 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.494, allocations: 0.7516 MB / 395.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.4941, allocations: 22.88 kB / 395.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.4942, allocations: 19.06 kB / 395.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4942, allocations: 0 / 395.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.01117/0.5054, allocations: 4.317 MB / 400.1 MB, free: 15.17 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches