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.001147/0.001147, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001246/0.001246, allocations: 168.9 kB / 25.69 MB, free: 8.453 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 0.9638/0.9638, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 3.938 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.291e-05, allocations: 2.312 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00333/0.003353, allocations: 2.771 MB / 254.4 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.004815, allocations: 0.6979 MB / 255.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.004971, allocations: 4 kB / 255.1 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.005104, allocations: 47.45 kB / 255.1 MB, free: 3.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.005277, allocations: 99.12 kB / 255.2 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.005531, allocations: 91.81 kB / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.005851, allocations: 394.1 kB / 255.7 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.006007, allocations: 89.92 kB / 255.8 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.006238, allocations: 219.5 kB / 256 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.006376, allocations: 123.6 kB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.006414, allocations: 36 kB / 256.1 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.394e-05/0.006448, allocations: 32 kB / 256.2 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.006496, allocations: 75.73 kB / 256.2 MB, free: 2.52 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.334e-05/0.006589, allocations: 119.7 kB / 256.4 MB, free: 2.402 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.006827, allocations: 251.1 kB / 256.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.006829, allocations: 0 / 256.6 MB, free: 2.156 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.006831, allocations: 4 kB / 256.6 MB, free: 2.152 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.006836, allocations: 0 / 256.6 MB, free: 2.152 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.0006364/0.007472, allocations: 0.5337 MB / 257.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.0075, allocations: 12.03 kB / 257.2 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.007555, allocations: 40.91 kB / 257.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.00774, allocations: 182.2 kB / 257.4 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007757, allocations: 20.88 kB / 257.4 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.00778, allocations: 24.38 kB / 257.4 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.008063, allocations: 275.4 kB / 257.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.008072, allocations: 192 / 257.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.008089, allocations: 12.38 kB / 257.7 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.008097, allocations: 7.938 kB / 257.7 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.008209, allocations: 77.41 kB / 257.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.009034, allocations: 0.8014 MB / 258.6 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.009187, allocations: 82.47 kB / 258.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.009223, allocations: 28.78 kB / 258.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.009238, allocations: 0 / 258.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.009372, allocations: 161.3 kB / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.009373, allocations: 0 / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004806/0.009854, allocations: 202.2 kB / 259 MB, free: 15.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.009898, allocations: 110.8 kB / 259.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.01003, allocations: 236.9 kB / 259.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.01005, allocations: 37.64 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.01024, allocations: 191.9 kB / 259.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.01026, allocations: 39.69 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.01032, allocations: 49.91 kB / 259.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.01041, allocations: 334.8 kB / 260 MB, free: 14.47 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.01046, allocations: 45.92 kB / 260.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.01056, allocations: 219.2 kB / 260.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01069, allocations: 197.2 kB / 260.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01069, allocations: 0 / 260.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002965/0.01099, allocations: 261.7 kB / 260.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.01102, allocations: 33.7 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01102, allocations: 7.984 kB / 260.8 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.01123, allocations: 68.89 kB / 260.8 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.01133, allocations: 51.91 kB / 260.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008532/0.01218, allocations: 1.307 MB / 262.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01231, allocations: 39.83 kB / 262.2 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01233, allocations: 12 kB / 262.2 MB, free: 12 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 7.876e-05/0.0124, allocations: 129.7 kB / 262.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.01243, allocations: 24.02 kB / 262.4 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.01245, allocations: 21.77 kB / 262.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.01246, allocations: 7.938 kB / 262.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01246, allocations: 0 / 262.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01246, allocations: 0 / 262.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.01257, allocations: 133.8 kB / 262.6 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01257, allocations: 0 / 262.6 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.0126, allocations: 12.17 kB / 262.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.01276, allocations: 72.8 kB / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.01277, allocations: 0 / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009025/0.01367, allocations: 1.292 MB / 263.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01367, allocations: 0 / 263.9 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.01386, allocations: 158.2 kB / 264.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.0139, allocations: 27.78 kB / 264.1 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01392, allocations: 4 kB / 264.1 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.01399, allocations: 16.17 kB / 264.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.01406, allocations: 27.95 kB / 264.2 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.01407, allocations: 7.984 kB / 264.2 MB, free: 9.945 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.915e-05/0.01413, allocations: 78.78 kB / 264.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01413, allocations: 0 / 264.2 MB, free: 9.871 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.01434, allocations: 91.72 kB / 264.3 MB, free: 9.781 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 8.189e-05/0.01442, allocations: 84.42 kB / 264.4 MB, free: 9.691 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.01471, allocations: 311.5 kB / 264.7 MB, free: 9.355 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01472, allocations: 8 kB / 264.7 MB, free: 9.348 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.01484, allocations: 180 kB / 264.9 MB, free: 9.156 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.01497, allocations: 44.45 kB / 264.9 MB, free: 9.113 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.01564, allocations: 429.3 kB / 265.4 MB, free: 8.668 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.01569, allocations: 80.31 kB / 265.4 MB, free: 8.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.01576, allocations: 22.3 kB / 265.5 MB, free: 8.547 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01586, allocations: 95.34 kB / 265.6 MB, free: 8.453 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01587, allocations: 0 / 265.6 MB, free: 8.453 MB / 250.7 MB Notification: Performance of Templates: time 0.006067/0.02193, allocations: 4.274 MB / 269.8 MB, free: 4.207 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.776934089604765]