Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001677/0.001677, allocations: 96.31 kB / 21.73 MB, free: 2.68 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.002083/0.002083, allocations: 163.6 kB / 25.02 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.516e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004919/0.004954, allocations: 2.572 MB / 252.9 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.006496, allocations: 0.6709 MB / 253.6 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.006649, allocations: 4 kB / 253.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.006843, allocations: 43.56 kB / 253.7 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.007071, allocations: 95.14 kB / 253.8 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.00739, allocations: 87.81 kB / 253.8 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.007921, allocations: 398.2 kB / 254.2 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.008144, allocations: 87.25 kB / 254.3 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.008474, allocations: 215.5 kB / 254.5 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.008692, allocations: 123.6 kB / 254.6 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.008773, allocations: 36 kB / 254.7 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.008835, allocations: 32 kB / 254.7 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.008927, allocations: 71.69 kB / 254.8 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.009101, allocations: 115.7 kB / 254.9 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.00965, allocations: 394.8 kB / 255.3 MB, free: 2.891 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.009656, allocations: 0 / 255.3 MB, free: 2.891 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.009658, allocations: 0 / 255.3 MB, free: 2.891 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.009675, allocations: 4 kB / 255.3 MB, free: 2.887 MB / 234.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.001491/0.01117, allocations: 0.578 MB / 255.9 MB, free: 2.273 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.01121, allocations: 8.031 kB / 255.9 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.01134, allocations: 64.64 kB / 255.9 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.01183, allocations: 214.3 kB / 256.1 MB, free: 1.965 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.01186, allocations: 16.88 kB / 256.2 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.01191, allocations: 24.38 kB / 256.2 MB, free: 1.922 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.01297, allocations: 350.6 kB / 256.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01298, allocations: 192 / 256.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01301, allocations: 12.38 kB / 256.5 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01302, allocations: 11.94 kB / 256.5 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.01389, allocations: 253.8 kB / 256.8 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01574, allocations: 0.9397 MB / 257.7 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.0166, allocations: 206.6 kB / 257.9 MB, free: 56 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.01697, allocations: 92.86 kB / 258 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.01699, allocations: 0 / 258 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.01753, allocations: 221.2 kB / 258.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.01753, allocations: 0 / 258.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.002236/0.01977, allocations: 446.2 kB / 258.7 MB, free: 15.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.01985, allocations: 102.8 kB / 258.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.02019, allocations: 265.8 kB / 259 MB, free: 14.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.02023, allocations: 33.7 kB / 259.1 MB, free: 14.83 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.02041, allocations: 203.9 kB / 259.3 MB, free: 14.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.02046, allocations: 39.61 kB / 259.3 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.02058, allocations: 53.89 kB / 259.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.02078, allocations: 330.8 kB / 259.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.02117, allocations: 125.9 kB / 259.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.0217, allocations: 287.1 kB / 260.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.02249, allocations: 301.5 kB / 260.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02249, allocations: 0 / 260.4 MB, free: 13.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001394/0.02389, allocations: 469 kB / 260.8 MB, free: 12.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.02394, allocations: 33.89 kB / 260.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.02395, allocations: 8 kB / 260.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/0.02463, allocations: 108.8 kB / 261 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.02486, allocations: 51.91 kB / 261 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.0277, allocations: 1.585 MB / 262.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.02808, allocations: 47.81 kB / 262.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.02811, allocations: 8 kB / 262.7 MB, free: 10.96 MB / 250.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.0002028/0.02831, allocations: 149.8 kB / 262.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.02838, allocations: 35.78 kB / 262.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.02844, allocations: 21.78 kB / 262.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.02844, allocations: 192 / 262.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.02845, allocations: 4 kB / 262.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02845, allocations: 3.984 kB / 262.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.02873, allocations: 209.2 kB / 263.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02873, allocations: 0 / 263.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.02886, allocations: 15.98 kB / 263.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008068/0.02967, allocations: 108.8 kB / 263.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.02969, allocations: 7.922 kB / 263.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.03223, allocations: 1.558 MB / 264.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.03224, allocations: 4.25 kB / 264.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.03335, allocations: 313.5 kB / 265.1 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.03346, allocations: 43.83 kB / 265.1 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.0335, allocations: 3.938 kB / 265.1 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.03376, allocations: 31.95 kB / 265.2 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.03387, allocations: 23.95 kB / 265.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.03388, allocations: 4 kB / 265.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.03411, allocations: 185.2 kB / 265.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03411, allocations: 7.938 kB / 265.4 MB, free: 8.078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.03452, allocations: 91.77 kB / 265.5 MB, free: 7.988 MB / 250.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.000159/0.03468, allocations: 102.1 kB / 265.6 MB, free: 7.883 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.0358, allocations: 434.7 kB / 266 MB, free: 7.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0358, allocations: 0 / 266 MB, free: 7.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/0.03631, allocations: 227 kB / 266.2 MB, free: 7.195 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.03662, allocations: 44.47 kB / 266.3 MB, free: 7.152 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.0378, allocations: 445.4 kB / 266.7 MB, free: 6.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.03798, allocations: 146.9 kB / 266.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.03809, allocations: 22.3 kB / 266.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.03816, allocations: 20.5 kB / 266.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03816, allocations: 4 kB / 266.9 MB, free: 6.48 MB / 250.7 MB Notification: Performance of Templates: time 0.01039/0.04855, allocations: 4.069 MB / 271 MB, free: 2.441 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.630037744995207]