Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.5 MB / 255.4 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.03 kB / 374.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1161, allocations: 53.31 MB / 428.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003804/0.1199, allocations: 2.176 MB / 430.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1211, allocations: 0.6077 MB / 430.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1212, allocations: 7.938 kB / 430.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1213, allocations: 27.78 kB / 430.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.1214, allocations: 43.62 kB / 430.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1217, allocations: 51.88 kB / 431 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1219, allocations: 159.2 kB / 431.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1221, allocations: 40.05 kB / 431.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1222, allocations: 71.66 kB / 431.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1224, allocations: 63.7 kB / 431.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1224, allocations: 19.94 kB / 431.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/0.1225, allocations: 27.98 kB / 431.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.1225, allocations: 27.92 kB / 431.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.1226, allocations: 75.61 kB / 431.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1229, allocations: 163.3 kB / 431.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1229, allocations: 3.938 kB / 431.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1229, allocations: 4 kB / 431.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1229, allocations: 0 / 431.6 MB, free: 0.8477 MB / 350.1 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.000713/0.1236, allocations: 443 kB / 432 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1236, allocations: 12.03 kB / 432.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.1238, allocations: 28.83 kB / 432.1 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1241, allocations: 212.1 kB / 432.3 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1241, allocations: 8.609 kB / 432.3 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1242, allocations: 12.38 kB / 432.3 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2199/0.3441, allocations: 119.7 kB / 432.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3441, allocations: 0 / 432.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.3441, allocations: 4.625 kB / 432.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3441, allocations: 3.75 kB / 432.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.3443, allocations: 82.88 kB / 432.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.3452, allocations: 0.5965 MB / 433.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.3455, allocations: 83.77 kB / 433.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.3456, allocations: 27.52 kB / 433.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3456, allocations: 4.75 kB / 433.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3456, allocations: 34.56 kB / 433.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3456, allocations: 0 / 433.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007156/0.3463, allocations: 255.5 kB / 433.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.3464, allocations: 52.41 kB / 433.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3465, allocations: 152.6 kB / 433.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.3465, allocations: 26.27 kB / 433.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.3466, allocations: 121 kB / 433.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3466, allocations: 28.8 kB / 433.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3466, allocations: 21.27 kB / 433.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.3467, allocations: 319.4 kB / 434.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3468, allocations: 22.69 kB / 434.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-05/0.3468, allocations: 46.38 kB / 434.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3469, allocations: 68.41 kB / 434.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3469, allocations: 0.5625 kB / 434.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002791/0.3472, allocations: 143.2 kB / 434.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3472, allocations: 5.406 kB / 434.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3473, allocations: 5.844 kB / 434.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.3475, allocations: 40.48 kB / 434.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.3475, allocations: 11.5 kB / 434.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.3487, allocations: 1.686 MB / 436.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.3488, allocations: 8.109 kB / 436.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3488, allocations: 3.094 kB / 436.3 MB, free: 8.609 MB / 350.1 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 8.086e-05/0.3489, allocations: 126.1 kB / 436.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.3489, allocations: 14.97 kB / 436.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.3489, allocations: 13.69 kB / 436.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3489, allocations: 0 / 436.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3489, allocations: 6.156 kB / 436.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.349, allocations: 0.875 kB / 436.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3491, allocations: 218.9 kB / 436.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3491, allocations: 3.156 kB / 436.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.3492, allocations: 5.609 kB / 436.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.3493, allocations: 37.3 kB / 436.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3493, allocations: 1.062 kB / 436.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009509/0.3502, allocations: 1.674 MB / 438.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3503, allocations: 5.969 kB / 438.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3505, allocations: 215.9 kB / 438.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.3505, allocations: 89.66 kB / 438.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3505, allocations: 0 / 438.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.3506, allocations: 7.391 kB / 438.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.3507, allocations: 19.19 kB / 438.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3507, allocations: 2.062 kB / 438.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.3507, allocations: 113.3 kB / 438.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 0 / 438.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.3511, allocations: 42.2 kB / 438.8 MB, free: 6.449 MB / 350.1 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 0.0001004/0.3512, allocations: 96 kB / 438.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3516, allocations: 199.2 kB / 439.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3516, allocations: 0 / 439.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.3518, allocations: 154.6 kB / 439.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.352, allocations: 11.41 kB / 439.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3526, allocations: 325.4 kB / 439.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.3527, allocations: 0.7067 MB / 440.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3527, allocations: 10.41 kB / 440.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3527, allocations: 1.312 kB / 440.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Templates: time 0.004769/0.3575, allocations: 1.937 MB / 442.3 MB, free: 5.117 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.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: 7.148666005115956]