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.001452/0.001452, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001601/0.001601, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001588/0.001588, allocations: 47.92 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2574, allocations: 53.36 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004196/0.2616, allocations: 2.836 MB / 434.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2629, allocations: 0.6816 MB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.263, allocations: 11.94 kB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.2632, allocations: 43.58 kB / 435.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.2634, allocations: 95.19 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2637, allocations: 87.81 kB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.2641, allocations: 378.5 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.2643, allocations: 87.36 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.2645, allocations: 147.5 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.2647, allocations: 163.3 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.2648, allocations: 36 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.2648, allocations: 36 kB / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.2649, allocations: 75.73 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2651, allocations: 163.2 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.2655, allocations: 379.7 kB / 436.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2655, allocations: 0 / 436.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2655, allocations: 0 / 436.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2655, allocations: 0 / 436.8 MB, free: 1.695 MB / 334.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.001292/0.2668, allocations: 0.5859 MB / 437.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2669, allocations: 8.031 kB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.2669, allocations: 36.7 kB / 437.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.2673, allocations: 222.9 kB / 437.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2674, allocations: 24.88 kB / 437.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.2674, allocations: 28.36 kB / 437.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.2681, allocations: 302.9 kB / 438 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2681, allocations: 0 / 438 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.2681, allocations: 11.98 kB / 438 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2681, allocations: 8 kB / 438 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.2689, allocations: 249.5 kB / 438.3 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.2706, allocations: 1.051 MB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.2713, allocations: 206.5 kB / 439.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.2717, allocations: 88.72 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.2717, allocations: 4 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.2721, allocations: 169.9 kB / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.2721, allocations: 0 / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00197/0.2741, allocations: 441.8 kB / 440.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.2742, allocations: 114.8 kB / 440.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.2745, allocations: 281.8 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.2745, allocations: 33.69 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2746, allocations: 192.1 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.2747, allocations: 51.56 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.2748, allocations: 49.89 kB / 440.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2749, allocations: 338.8 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2753, allocations: 92.16 kB / 441.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.2757, allocations: 206.1 kB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.2763, allocations: 299.7 kB / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2763, allocations: 3.938 kB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001167/0.2775, allocations: 423.8 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.2775, allocations: 33.7 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2776, allocations: 4 kB / 442.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.2779, allocations: 80.83 kB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2781, allocations: 43.91 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.2805, allocations: 1.61 MB / 444 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.2808, allocations: 55.81 kB / 444.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.2809, allocations: 16 kB / 444.1 MB, free: 9.914 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.000173/0.281, allocations: 153.6 kB / 444.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.2811, allocations: 27.81 kB / 444.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.2811, allocations: 33.69 kB / 444.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-06/0.2811, allocations: 4 kB / 444.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2811, allocations: 0 / 444.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2811, allocations: 0 / 444.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2814, allocations: 264.5 kB / 444.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2814, allocations: 7.922 kB / 444.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2815, allocations: 19.92 kB / 444.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.2818, allocations: 68.8 kB / 444.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2818, allocations: 4 kB / 444.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.284, allocations: 1.6 MB / 446.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.284, allocations: 0 / 446.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/0.285, allocations: 309.6 kB / 446.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.2851, allocations: 31.84 kB / 446.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.2852, allocations: 11.98 kB / 446.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2854, allocations: 23.97 kB / 446.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.2855, allocations: 27.95 kB / 446.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2855, allocations: 4 kB / 446.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2857, allocations: 205.1 kB / 446.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2857, allocations: 3.938 kB / 446.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.2861, allocations: 83.83 kB / 447 MB, free: 6.863 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.0001222/0.2862, allocations: 95.25 kB / 447.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.2872, allocations: 409.7 kB / 447.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2872, allocations: 0 / 447.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.2877, allocations: 223.4 kB / 447.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.288, allocations: 44.59 kB / 447.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2891, allocations: 488.2 kB / 448.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.2894, allocations: 0.748 MB / 448.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.2895, allocations: 34.2 kB / 449 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.2896, allocations: 19.44 kB / 449 MB, free: 4.738 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2896, allocations: 0 / 449 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Templates: time 0.009415/0.299, allocations: 4.42 MB / 453.4 MB, free: 368 kB / 350.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.624270961154252]