Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.627/1.627, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 51.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1264, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.0067/0.1331, allocations: 2.818 MB / 429.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1353, allocations: 0.6778 MB / 430.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.1357, allocations: 4 kB / 430.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.136, allocations: 55.5 kB / 430.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.1365, allocations: 95.19 kB / 430.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.137, allocations: 83.83 kB / 430.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008307/0.1378, allocations: 374.5 kB / 430.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1381, allocations: 90.94 kB / 431 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2401/0.3782, allocations: 147.9 kB / 431.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.3786, allocations: 164.3 kB / 431.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.3786, allocations: 36.44 kB / 431.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.3787, allocations: 33.69 kB / 431.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.3788, allocations: 74.48 kB / 431.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.379, allocations: 163.3 kB / 431.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.3795, allocations: 382.5 kB / 432 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3795, allocations: 0.5312 kB / 432 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3795, allocations: 1.344 kB / 432 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3795, allocations: 0 / 432 MB, free: 8.117 MB / 350.1 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.001273/0.3808, allocations: 0.6553 MB / 432.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3808, allocations: 10.09 kB / 432.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/0.3809, allocations: 37.3 kB / 432.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.3813, allocations: 273.5 kB / 433 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3813, allocations: 18.78 kB / 433 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.3813, allocations: 24.06 kB / 433 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.382, allocations: 301.6 kB / 433.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.382, allocations: 5.406 kB / 433.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.382, allocations: 12.94 kB / 433.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.382, allocations: 9.094 kB / 433.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.3828, allocations: 247.3 kB / 433.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3843, allocations: 1.098 MB / 434.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.3852, allocations: 202.7 kB / 434.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.3855, allocations: 83.58 kB / 434.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.3855, allocations: 9.578 kB / 434.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/0.3859, allocations: 164.4 kB / 435.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3859, allocations: 1.062 kB / 435.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002165/0.3881, allocations: 0.5068 MB / 435.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.3882, allocations: 112.6 kB / 435.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3884, allocations: 287.8 kB / 436 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3884, allocations: 27.02 kB / 436 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.3885, allocations: 203.9 kB / 436.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3886, allocations: 37.45 kB / 436.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.3887, allocations: 55.75 kB / 436.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.3887, allocations: 336.7 kB / 436.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3891, allocations: 93.89 kB / 436.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.3895, allocations: 198.1 kB / 436.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.3901, allocations: 302.6 kB / 437.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3901, allocations: 1.125 kB / 437.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001226/0.3914, allocations: 429.1 kB / 437.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.3914, allocations: 39 kB / 437.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3914, allocations: 3.625 kB / 437.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.3918, allocations: 75.69 kB / 437.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.392, allocations: 48.45 kB / 437.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.3941, allocations: 1.712 MB / 439.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3945, allocations: 58.06 kB / 439.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.3945, allocations: 12.84 kB / 439.6 MB, free: 3.891 MB / 350.1 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 (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 (23): * Single equations (assignments): 21 * 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.0001146/0.3946, allocations: 142.6 kB / 439.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3946, allocations: 32.31 kB / 439.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.3947, allocations: 29.73 kB / 439.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3947, allocations: 3.672 kB / 439.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3947, allocations: 0 / 439.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3947, allocations: 1.266 kB / 439.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.395, allocations: 305.7 kB / 440.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.395, allocations: 0 / 440.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3951, allocations: 18.84 kB / 440.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.3954, allocations: 72.31 kB / 440.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3954, allocations: 5.375 kB / 440.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.3973, allocations: 1.698 MB / 441.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3973, allocations: 1.344 kB / 441.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3983, allocations: 310.8 kB / 442.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.3984, allocations: 119.2 kB / 442.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.3984, allocations: 2.312 kB / 442.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3987, allocations: 30.17 kB / 442.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.3988, allocations: 22.8 kB / 442.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3988, allocations: 10.62 kB / 442.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.399, allocations: 201.3 kB / 442.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.399, allocations: 0 / 442.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3993, allocations: 80.72 kB / 442.7 MB, free: 1.637 MB / 350.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 (7): * Single equations (assignments): 4 * 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.0001145/0.3995, allocations: 104.5 kB / 442.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009931/0.4004, allocations: 403.9 kB / 443.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4004, allocations: 1.344 kB / 443.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.4009, allocations: 236.9 kB / 443.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4012, allocations: 45.75 kB / 443.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4023, allocations: 474.3 kB / 443.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.4025, allocations: 0.7529 MB / 444.6 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.818e-05/0.4026, allocations: 25.53 kB / 444.7 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.4027, allocations: 20.83 kB / 444.7 MB, free: 160 kB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4027, allocations: 0 / 444.7 MB, free: 160 kB / 350.1 MB Notification: Performance of Templates: time 0.01096/0.4137, allocations: 4.279 MB / 449 MB, free: 15.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.982054848223925]