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.0008013/0.0008013, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003167/0.003167, allocations: 163 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.882/0.882, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.812e-05, allocations: 3.266 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00293/0.002958, allocations: 2.641 MB / 328.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003993, allocations: 0.6544 MB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.004125, allocations: 4 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.004259, allocations: 51.5 kB / 329.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.004405, allocations: 95.14 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.004631, allocations: 83.88 kB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.004935, allocations: 390.3 kB / 329.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.005093, allocations: 83.34 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.00527, allocations: 219.4 kB / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.005399, allocations: 123.6 kB / 330.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.005438, allocations: 36 kB / 330.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.005467, allocations: 32 kB / 330.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.005514, allocations: 75.69 kB / 330.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.005603, allocations: 115.7 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.005905, allocations: 394.8 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005909, allocations: 0 / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.00591, allocations: 0 / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.005915, allocations: 0 / 330.8 MB, free: 10.41 MB / 298.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.0008141/0.006729, allocations: 0.589 MB / 331.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.006765, allocations: 8.031 kB / 331.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.006822, allocations: 36.75 kB / 331.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.007117, allocations: 230.1 kB / 331.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.007135, allocations: 16.88 kB / 331.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.007162, allocations: 20.38 kB / 331.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.007605, allocations: 358.7 kB / 332.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007616, allocations: 192 / 332.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.007638, allocations: 12.38 kB / 332.1 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007645, allocations: 11.88 kB / 332.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.00806, allocations: 257.8 kB / 332.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.009057, allocations: 0.928 MB / 333.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.00947, allocations: 194.5 kB / 333.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.00962, allocations: 92.78 kB / 333.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.009643, allocations: 0 / 333.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.009932, allocations: 225.2 kB / 333.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.009933, allocations: 0 / 333.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001061/0.01099, allocations: 445.8 kB / 334.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.01105, allocations: 102.8 kB / 334.3 MB, free: 6.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.0115, allocations: 265.8 kB / 334.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01152, allocations: 29.7 kB / 334.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.01162, allocations: 203.9 kB / 334.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.01164, allocations: 43.61 kB / 334.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.0117, allocations: 61.89 kB / 334.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.01178, allocations: 330.8 kB / 335.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.01197, allocations: 121.9 kB / 335.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.01219, allocations: 279.2 kB / 335.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.01254, allocations: 309.4 kB / 335.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01255, allocations: 0 / 335.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006099/0.01316, allocations: 452 kB / 336.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.01319, allocations: 37.69 kB / 336.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.0132, allocations: 4 kB / 336.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.01343, allocations: 68.81 kB / 336.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.01354, allocations: 51.98 kB / 336.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.01491, allocations: 1.577 MB / 338.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.01508, allocations: 55.73 kB / 338.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.0151, allocations: 12 kB / 338.1 MB, free: 2.543 MB / 298.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 (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.0001064/0.01521, allocations: 147.7 kB / 338.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.01523, allocations: 23.8 kB / 338.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.01526, allocations: 33.77 kB / 338.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.01526, allocations: 0 / 338.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01526, allocations: 0 / 338.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01527, allocations: 7.875 kB / 338.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.01541, allocations: 201.1 kB / 338.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01542, allocations: 4 kB / 338.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.01547, allocations: 19.97 kB / 338.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.01562, allocations: 69 kB / 338.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01563, allocations: 11.92 kB / 338.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.01675, allocations: 1.562 MB / 340.2 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01675, allocations: 0 / 340.2 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.01723, allocations: 305.5 kB / 340.5 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.0173, allocations: 35.83 kB / 340.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01732, allocations: 11.94 kB / 340.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01742, allocations: 27.95 kB / 340.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.01749, allocations: 23.97 kB / 340.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.01749, allocations: 4 kB / 340.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.01761, allocations: 185.2 kB / 340.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01761, allocations: 0 / 340.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.01785, allocations: 83.83 kB / 340.9 MB, free: 15.64 MB / 314.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 (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.0001005/0.01795, allocations: 99.25 kB / 341 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007846/0.01874, allocations: 435.5 kB / 341.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01874, allocations: 0 / 341.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.01896, allocations: 227.2 kB / 341.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.01917, allocations: 41.42 kB / 341.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.01982, allocations: 480.6 kB / 342.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.0199, allocations: 142.9 kB / 342.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.01995, allocations: 24.5 kB / 342.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01995, allocations: 0 / 342.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Templates: time 0.004087/0.02403, allocations: 4.409 MB / 346.7 MB, free: 9.715 MB / 314.7 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.419266054406762]