Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 176.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.3 MB / 241.4 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008874, allocations: 95.03 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 15.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.277, allocations: 50.39 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3847, allocations: 79.95 MB / 482.7 MB, free: 388 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.385, allocations: 75.95 kB / 482.8 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.4018, allocations: 5.971 MB / 488.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4018, allocations: 3.938 kB / 488.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.4019, allocations: 4 kB / 488.8 MB, free: 10.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001363/0.4032, allocations: 0.6073 MB / 489.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4033, allocations: 15.95 kB / 489.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.4034, allocations: 40.56 kB / 489.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.4037, allocations: 268.7 kB / 489.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.4038, allocations: 16.94 kB / 489.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.4038, allocations: 24.38 kB / 489.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.4045, allocations: 315.9 kB / 490 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4045, allocations: 192 / 490 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.4046, allocations: 11.94 kB / 490 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4046, allocations: 8 kB / 490 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.4054, allocations: 277.6 kB / 490.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.4071, allocations: 1.117 MB / 491.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.4079, allocations: 238.6 kB / 491.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.4082, allocations: 100.8 kB / 491.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.4082, allocations: 7.984 kB / 491.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.4087, allocations: 181.8 kB / 492 MB, free: 6.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.4088, allocations: 0 / 492 MB, free: 6.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.002041/0.4108, allocations: 0.5457 MB / 492.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4109, allocations: 110.8 kB / 492.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.4112, allocations: 278.6 kB / 492.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.4113, allocations: 33.7 kB / 492.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4114, allocations: 195.5 kB / 493.1 MB, free: 5.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.4114, allocations: 39.55 kB / 493.1 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.4115, allocations: 8 kB / 493.1 MB, free: 5.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4116, allocations: 330.8 kB / 493.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.4119, allocations: 104.2 kB / 493.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.4123, allocations: 211.7 kB / 493.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.413, allocations: 330.3 kB / 494.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.413, allocations: 4 kB / 494.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001132/0.4141, allocations: 447.5 kB / 494.5 MB, free: 4.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.4142, allocations: 33.7 kB / 494.6 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4142, allocations: 4.094 kB / 494.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.4145, allocations: 72.8 kB / 494.7 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.4148, allocations: 59.84 kB / 494.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.4169, allocations: 1.609 MB / 496.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.4173, allocations: 51.72 kB / 496.4 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.4173, allocations: 16.06 kB / 496.4 MB, free: 2.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.4175, allocations: 141.7 kB / 496.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.4175, allocations: 27.66 kB / 496.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.4176, allocations: 29.7 kB / 496.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4176, allocations: 0 / 496.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4176, allocations: 0 / 496.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4176, allocations: 7.984 kB / 496.6 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.4179, allocations: 289.5 kB / 496.9 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4179, allocations: 4 kB / 496.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.418, allocations: 27.91 kB / 496.9 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.4183, allocations: 72.8 kB / 497 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4183, allocations: 0 / 497 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.4202, allocations: 1.585 MB / 498.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4202, allocations: 32 / 498.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.4212, allocations: 337.8 kB / 498.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4213, allocations: 108.8 kB / 499 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4213, allocations: 7.938 kB / 499 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.4216, allocations: 43.95 kB / 499 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.4217, allocations: 23.91 kB / 499.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4217, allocations: 4 kB / 499.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.4219, allocations: 202 kB / 499.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4219, allocations: 0 / 499.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.4223, allocations: 75.84 kB / 499.3 MB, free: 14.91 MB / 378.7 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001646/0.4224, allocations: 107.2 kB / 499.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.4234, allocations: 438 kB / 499.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4235, allocations: 0 / 499.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.4239, allocations: 247.1 kB / 0.4884 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4242, allocations: 44.81 kB / 0.4884 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.4252, allocations: 0.5354 MB / 0.489 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.4255, allocations: 0.752 MB / 0.4897 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4256, allocations: 26.28 kB / 0.4897 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.4257, allocations: 19.44 kB / 0.4897 GB, free: 12.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4257, allocations: 0 / 0.4897 GB, free: 12.65 MB / 378.7 MB Notification: Performance of Templates: time 0.007414/0.4331, allocations: 3.704 MB / 0.4934 GB, free: 8.988 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches