Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.0009579/0.0009579, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009442/0.0009442, allocations: 170.4 kB / 24.91 MB, free: 9.199 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.9614/0.9614, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.17e-05, allocations: 6.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.006386/0.006408, allocations: 2.239 MB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.007365, allocations: 0.6191 MB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.007457, allocations: 4 kB / 276.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.007577, allocations: 15.8 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.007666, allocations: 55.55 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.007879, allocations: 55.8 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.008051, allocations: 159.1 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.008177, allocations: 42.3 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.008355, allocations: 111.7 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.008447, allocations: 43.89 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.008469, allocations: 12 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.008544, allocations: 31.97 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.008568, allocations: 27.86 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.008615, allocations: 47.91 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.008789, allocations: 111.6 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.008792, allocations: 0 / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008793, allocations: 4 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.008796, allocations: 0 / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003946/0.009191, allocations: 352.4 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.009224, allocations: 12.03 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.009381, allocations: 24.91 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.009534, allocations: 137.6 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.009548, allocations: 12.61 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.009562, allocations: 12.38 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.009706, allocations: 122.5 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.009714, allocations: 192 / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.009725, allocations: 8.375 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.009733, allocations: 7.938 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.009784, allocations: 28.62 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.01022, allocations: 355.1 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01037, allocations: 54.48 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.0104, allocations: 16.84 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.01041, allocations: 128 / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.01043, allocations: 42.56 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.01043, allocations: 0 / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003232/0.01075, allocations: 122.3 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.01077, allocations: 55.34 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.01086, allocations: 157.6 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.01086, allocations: 25.7 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.01091, allocations: 124.1 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.01093, allocations: 23.84 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.01097, allocations: 25.7 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.01104, allocations: 326.8 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.01106, allocations: 4 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.01109, allocations: 26.56 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.01114, allocations: 46.47 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01114, allocations: 8 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001353/0.01128, allocations: 86.39 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01129, allocations: 7.938 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01129, allocations: 4 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.01142, allocations: 36.81 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.239e-05/0.01146, allocations: 4 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/0.01238, allocations: 1.41 MB / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.01242, allocations: 11.94 kB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.01242, allocations: 0 / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.01249, allocations: 121.8 kB / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.01252, allocations: 7.984 kB / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.01253, allocations: 16.78 kB / 280.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.01253, allocations: 0 / 280.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.91e-07/0.01253, allocations: 0 / 280.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01254, allocations: 3.984 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.01266, allocations: 97.75 kB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01266, allocations: 0 / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.01268, allocations: 3.984 kB / 281 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.764e-05/0.01276, allocations: 40.95 kB / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.01277, allocations: 0 / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007622/0.01353, allocations: 1.403 MB / 282.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01353, allocations: 0 / 282.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.01368, allocations: 180.2 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.01369, allocations: 11.92 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-06/0.0137, allocations: 4 kB / 282.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.01376, allocations: 4 kB / 282.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.01379, allocations: 7.922 kB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.01379, allocations: 8.188 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.01384, allocations: 36.75 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01384, allocations: 0 / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000288/0.01412, allocations: 35.95 kB / 282.7 MB, free: 7.633 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.938e-05/0.0142, allocations: 84.36 kB / 282.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.0144, allocations: 158.3 kB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.0144, allocations: 8 kB / 282.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01451, allocations: 151.3 kB / 283.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.01467, allocations: 13.56 kB / 283.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.01525, allocations: 280.8 kB / 283.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.01529, allocations: 67.33 kB / 283.4 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.01532, allocations: 4.5 kB / 283.4 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.01538, allocations: 67.36 kB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01538, allocations: 0 / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of Templates: time 0.003255/0.01863, allocations: 1.567 MB / 285.1 MB, free: 5.188 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.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.6062437989749014]