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.008891/0.008891, allocations: 103.4 kB / 21.97 MB, free: 5.207 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.002957/0.002957, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.427/1.427, allocations: 230.6 MB / 259 MB, free: 8.043 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.001955/0.001955, allocations: 59.91 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2605, allocations: 53.37 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003662/0.2642, allocations: 2.185 MB / 435.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2654, allocations: 0.6194 MB / 436 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2655, allocations: 4 kB / 436 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.2656, allocations: 19.78 kB / 436 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.596e-05/0.2657, allocations: 51.56 kB / 436.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.2659, allocations: 47.88 kB / 436.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.2662, allocations: 167.2 kB / 436.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.2663, allocations: 37.66 kB / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2665, allocations: 67.78 kB / 436.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.2666, allocations: 67.7 kB / 436.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.2666, allocations: 12 kB / 436.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.2667, allocations: 24 kB / 436.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.2667, allocations: 35.83 kB / 436.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.2668, allocations: 71.67 kB / 436.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.2671, allocations: 164.6 kB / 436.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2671, allocations: 0 / 436.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2671, allocations: 3.938 kB / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2671, allocations: 0 / 436.7 MB, free: 3.391 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.000648/0.2677, allocations: 384.5 kB / 437.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2678, allocations: 12.02 kB / 437.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.268, allocations: 24.84 kB / 437.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.2683, allocations: 146.3 kB / 437.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2683, allocations: 8.609 kB / 437.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2683, allocations: 12.38 kB / 437.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.2686, allocations: 128.7 kB / 437.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2686, allocations: 4 kB / 437.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2686, allocations: 4 kB / 437.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.2686, allocations: 4 kB / 437.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.2688, allocations: 76.66 kB / 437.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008961/0.2697, allocations: 0.5659 MB / 438.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.27, allocations: 90.55 kB / 438.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.2701, allocations: 28.97 kB / 438.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2701, allocations: 0 / 438.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2701, allocations: 34.56 kB / 438.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.2701, allocations: 0 / 438.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006756/0.2708, allocations: 174.5 kB / 438.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2709, allocations: 59.33 kB / 438.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.271, allocations: 159.2 kB / 438.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.271, allocations: 29.7 kB / 438.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.2711, allocations: 124.1 kB / 438.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.2711, allocations: 23.8 kB / 438.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.2712, allocations: 21.72 kB / 438.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2713, allocations: 318.8 kB / 439.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.2714, allocations: 27.98 kB / 439.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.2715, allocations: 54.56 kB / 439.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2716, allocations: 66.56 kB / 439.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2717, allocations: 3.938 kB / 439.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003215/0.272, allocations: 138.3 kB / 439.4 MB, free: 488 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.272, allocations: 4 kB / 439.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.272, allocations: 80 / 439.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.2722, allocations: 36.84 kB / 439.5 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.2722, allocations: 11.98 kB / 439.5 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.274, allocations: 1.595 MB / 441.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.2741, allocations: 12.05 kB / 441.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2741, allocations: 4 kB / 441.1 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.0001252/0.2742, allocations: 123.8 kB / 441.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.2742, allocations: 11.94 kB / 441.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.2743, allocations: 12.72 kB / 441.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2743, allocations: 128 / 441.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2743, allocations: 4 kB / 441.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2743, allocations: 0 / 441.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.2745, allocations: 192.6 kB / 441.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2745, allocations: 48 / 441.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.2746, allocations: 11.97 kB / 441.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.2747, allocations: 32.84 kB / 441.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2747, allocations: 0 / 441.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.2762, allocations: 1.578 MB / 443 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2762, allocations: 0 / 443 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.2765, allocations: 220.4 kB / 443.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.2765, allocations: 11.94 kB / 443.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.2765, allocations: 0 / 443.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.2766, allocations: 4 kB / 443.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2767, allocations: 11.98 kB / 443.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2767, allocations: 3.938 kB / 443.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2768, allocations: 119.2 kB / 443.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2768, allocations: 0 / 443.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.2772, allocations: 47.83 kB / 443.4 MB, free: 12.14 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.0001087/0.2773, allocations: 95.25 kB / 443.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.2777, allocations: 186.6 kB / 443.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2777, allocations: 4.125 kB / 443.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.2779, allocations: 154.6 kB / 443.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.2782, allocations: 8 kB / 443.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.2788, allocations: 322.5 kB / 444.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2792, allocations: 0.708 MB / 444.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.2792, allocations: 11.44 kB / 444.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2792, allocations: 0 / 444.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.004126/0.2833, allocations: 1.938 MB / 446.9 MB, free: 8.637 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.205158630153164]