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.001594/0.001594, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001711/0.001711, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.449/1.449, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001947/0.001947, allocations: 67.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 53.31 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003764/0.2685, allocations: 2.19 MB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2697, allocations: 0.6194 MB / 434.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2698, allocations: 4 kB / 434.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.27, allocations: 19.78 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.512e-05/0.2701, allocations: 47.58 kB / 434.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.2703, allocations: 55.86 kB / 435 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.2706, allocations: 155.2 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2707, allocations: 41.47 kB / 435.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2709, allocations: 63.78 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.271, allocations: 71.69 kB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.2711, allocations: 12 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.2711, allocations: 28 kB / 435.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.2712, allocations: 23.86 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.2713, allocations: 71.67 kB / 435.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2715, allocations: 180.7 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2715, allocations: 0 / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2715, allocations: 0 / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.2716, allocations: 0 / 435.6 MB, free: 3.801 MB / 334.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.0006858/0.2722, allocations: 447 kB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2723, allocations: 8.031 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.2725, allocations: 28.83 kB / 436.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2728, allocations: 208.1 kB / 436.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2728, allocations: 12.61 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.2728, allocations: 12.31 kB / 436.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.2731, allocations: 123.8 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2731, allocations: 4 kB / 436.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2731, allocations: 4 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2731, allocations: 4 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.2733, allocations: 80.66 kB / 436.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.2742, allocations: 0.6057 MB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.2745, allocations: 82.62 kB / 437.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.2746, allocations: 28.97 kB / 437.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2746, allocations: 4 kB / 437.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.2747, allocations: 30.56 kB / 437.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2747, allocations: 0 / 437.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007325/0.2754, allocations: 251.5 kB / 437.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.2755, allocations: 59.34 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2756, allocations: 153.7 kB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2756, allocations: 29.7 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.2757, allocations: 128.1 kB / 437.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2757, allocations: 27.77 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.2758, allocations: 21.72 kB / 437.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2759, allocations: 322.8 kB / 438.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.276, allocations: 23.92 kB / 438.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.2761, allocations: 42.56 kB / 438.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2762, allocations: 70.5 kB / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2762, allocations: 0 / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003052/0.2765, allocations: 134.3 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2766, allocations: 12.06 kB / 438.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2766, allocations: 256 / 438.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.2767, allocations: 41.02 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.2768, allocations: 11.98 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.2787, allocations: 1.685 MB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.2788, allocations: 7.953 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.2788, allocations: 8.047 kB / 440.3 MB, free: 14.7 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 0.0001185/0.2789, allocations: 132.4 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.2789, allocations: 7.953 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.279, allocations: 16.7 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.279, allocations: 4 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.279, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.279, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.2792, allocations: 209.5 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2792, allocations: 4 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.2793, allocations: 4.125 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.2794, allocations: 40.83 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2794, allocations: 0 / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.2809, allocations: 1.682 MB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2809, allocations: 0 / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.2813, allocations: 216.3 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.2813, allocations: 89.05 kB / 442.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2813, allocations: 4 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.2814, allocations: 4 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.2815, allocations: 7.984 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2815, allocations: 4.188 kB / 442.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.2816, allocations: 115.1 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2816, allocations: 7.938 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.2819, allocations: 43.89 kB / 442.9 MB, free: 11.89 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.0001345/0.2821, allocations: 99.77 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004375/0.2825, allocations: 182.6 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2825, allocations: 0 / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.2827, allocations: 162.7 kB / 443.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.283, allocations: 12 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.2836, allocations: 321.5 kB / 443.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.284, allocations: 0.7119 MB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.284, allocations: 15.38 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.284, allocations: 0 / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Templates: time 0.003948/0.288, allocations: 1.952 MB / 446.3 MB, free: 8.355 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.046435194090009]