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.00102/0.00102, allocations: 84.98 kB / 23 MB, free: 1.5 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.001082/0.001082, allocations: 172.2 kB / 26.39 MB, free: 7.758 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.8984/0.8984, allocations: 158.6 MB / 188.3 MB, free: 2.812 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.423e-06/1.423e-06, allocations: 3.938 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.812e-05, allocations: 2.312 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00302/0.003038, allocations: 2.716 MB / 255 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004201, allocations: 0.6709 MB / 255.7 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.004409, allocations: 7.938 kB / 255.7 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.004553, allocations: 39.58 kB / 255.7 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.004738, allocations: 103.1 kB / 255.8 MB, free: 3.668 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005015, allocations: 95.8 kB / 255.9 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.005404, allocations: 394.1 kB / 256.3 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.005595, allocations: 83.25 kB / 256.4 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.005913, allocations: 219.5 kB / 256.6 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.006076, allocations: 127.6 kB / 256.7 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.006122, allocations: 32 kB / 256.7 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.006159, allocations: 36 kB / 256.8 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.006216, allocations: 75.69 kB / 256.8 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.00632, allocations: 123.7 kB / 257 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.006586, allocations: 247.1 kB / 257.2 MB, free: 2.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006589, allocations: 0 / 257.2 MB, free: 2.262 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006591, allocations: 0 / 257.2 MB, free: 2.262 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.006597, allocations: 0 / 257.2 MB, free: 2.262 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.0007878/0.007385, allocations: 0.6662 MB / 257.9 MB, free: 1.555 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.007422, allocations: 8.031 kB / 257.9 MB, free: 1.547 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.007499, allocations: 60.7 kB / 257.9 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.007728, allocations: 213 kB / 258.1 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007747, allocations: 16.88 kB / 258.2 MB, free: 1.23 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.007776, allocations: 28.38 kB / 258.2 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.008092, allocations: 277 kB / 258.5 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.008103, allocations: 4.125 kB / 258.5 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.008123, allocations: 16.38 kB / 258.5 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.008131, allocations: 7.938 kB / 258.5 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.008264, allocations: 85.36 kB / 258.6 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.009273, allocations: 1.008 MB / 259.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.009459, allocations: 99.16 kB / 259.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.009502, allocations: 27.67 kB / 259.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.009523, allocations: 7.984 kB / 259.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.009702, allocations: 171.3 kB / 259.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.009703, allocations: 0 / 259.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006412/0.01034, allocations: 233 kB / 260.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.01039, allocations: 110.8 kB / 260.2 MB, free: 14.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01056, allocations: 304 kB / 260.5 MB, free: 14.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01058, allocations: 25.7 kB / 260.5 MB, free: 14.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01069, allocations: 258.6 kB / 260.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.01071, allocations: 39.67 kB / 260.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.01078, allocations: 63.52 kB / 260.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01092, allocations: 0.504 MB / 261.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.01098, allocations: 49.92 kB / 261.4 MB, free: 13.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01111, allocations: 264.4 kB / 261.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.01129, allocations: 217.1 kB / 261.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01129, allocations: 0 / 261.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003726/0.01166, allocations: 312.2 kB / 262.2 MB, free: 12.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.01169, allocations: 33.7 kB / 262.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.0117, allocations: 4 kB / 262.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.01195, allocations: 79.7 kB / 262.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01205, allocations: 43.91 kB / 262.4 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.01325, allocations: 1.87 MB / 264.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.01341, allocations: 43.8 kB / 264.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01343, allocations: 12 kB / 264.3 MB, free: 10.54 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 9.875e-05/0.01352, allocations: 172.5 kB / 264.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.01355, allocations: 27.86 kB / 264.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.01358, allocations: 29.7 kB / 264.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01359, allocations: 0 / 264.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01359, allocations: 0 / 264.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01359, allocations: 0 / 264.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.01372, allocations: 173 kB / 264.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01372, allocations: 0 / 264.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.01376, allocations: 23.91 kB / 264.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.01393, allocations: 67.75 kB / 264.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01394, allocations: 8 kB / 264.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009577/0.0149, allocations: 1.862 MB / 266.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0149, allocations: 0 / 266.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.01514, allocations: 200.2 kB / 266.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.0152, allocations: 39.77 kB / 266.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.01522, allocations: 0 / 266.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.01531, allocations: 19.98 kB / 266.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.01537, allocations: 27.89 kB / 266.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01538, allocations: 0 / 266.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.01547, allocations: 197.1 kB / 267.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01547, allocations: 4 kB / 267.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.01572, allocations: 83.84 kB / 267.2 MB, free: 7.445 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.0001152/0.01584, allocations: 95.25 kB / 267.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.01622, allocations: 386.1 kB / 267.7 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01623, allocations: 0 / 267.7 MB, free: 6.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01637, allocations: 233.5 kB / 267.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01658, allocations: 48.64 kB / 268 MB, free: 6.633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.01733, allocations: 431 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.01738, allocations: 88.22 kB / 268.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.01745, allocations: 26.28 kB / 268.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.01757, allocations: 118.2 kB / 268.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01758, allocations: 0 / 268.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of Templates: time 0.006678/0.02425, allocations: 4.464 MB / 273.1 MB, free: 1.504 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 -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.8018230153247714]