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.001647/0.001647, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002115/0.002115, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.585/1.585, allocations: 230.6 MB / 258.2 MB, free: 7.742 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+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 0.001641/0.001641, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2592, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003796/0.263, allocations: 2.089 MB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2642, allocations: 0.5844 MB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2643, allocations: 7.938 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2644, allocations: 15.8 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2645, allocations: 55.55 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.2648, allocations: 47.88 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.265, allocations: 159.3 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2651, allocations: 36.61 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2653, allocations: 71.72 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2654, allocations: 59.7 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.2654, allocations: 12 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.2655, allocations: 31.97 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.2656, allocations: 23.92 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.2656, allocations: 59.73 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2659, allocations: 167 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2659, allocations: 0 / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2659, allocations: 0 / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2659, allocations: 3.984 kB / 435.7 MB, free: 3.293 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.0006519/0.2666, allocations: 377.8 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2666, allocations: 8.031 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.2668, allocations: 28.83 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.2671, allocations: 150.3 kB / 436.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2671, allocations: 8.609 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2671, allocations: 16.31 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.2674, allocations: 149.5 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2674, allocations: 0 / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.2674, allocations: 4 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2674, allocations: 4 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2676, allocations: 80.67 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/0.2684, allocations: 439 kB / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.2687, allocations: 86.55 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.2688, allocations: 24.98 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2688, allocations: 0 / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.2688, allocations: 54.53 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.2688, allocations: 0 / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006775/0.2695, allocations: 174.3 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2695, allocations: 55.34 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.2697, allocations: 159.9 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2697, allocations: 25.7 kB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.2698, allocations: 132.1 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2698, allocations: 15.8 kB / 437.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.2699, allocations: 29.7 kB / 437.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.27, allocations: 326.8 kB / 438 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.2701, allocations: 19.94 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.2702, allocations: 42.56 kB / 438.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2703, allocations: 78.48 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2703, allocations: 4 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003058/0.2706, allocations: 134.3 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2706, allocations: 4 kB / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2706, allocations: 0 / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.2708, allocations: 44.89 kB / 438.4 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.2709, allocations: 4 kB / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.2726, allocations: 1.552 MB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.2727, allocations: 8.031 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2727, allocations: 8.062 kB / 439.9 MB, free: 14.79 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.0001062/0.2728, allocations: 117.8 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.2728, allocations: 19.88 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.2728, allocations: 12.72 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2728, allocations: 4 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.2728, allocations: 0 / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2728, allocations: 0 / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.273, allocations: 141.3 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.273, allocations: 0 / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.2731, allocations: 8 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.2732, allocations: 32.83 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2732, allocations: 7.938 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2746, allocations: 1.547 MB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2746, allocations: 4.078 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.275, allocations: 220.3 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.275, allocations: 11.89 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.275, allocations: 0 / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2751, allocations: 8 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.2751, allocations: 12.11 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2751, allocations: 0 / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.2752, allocations: 125.9 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2752, allocations: 0 / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.2756, allocations: 39.89 kB / 442.2 MB, free: 12.32 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.0001132/0.2757, allocations: 99.25 kB / 442.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004257/0.2761, allocations: 190.6 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2761, allocations: 0 / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.2764, allocations: 154.6 kB / 442.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2766, allocations: 16.05 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.2772, allocations: 326.1 kB / 443 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.2773, allocations: 90.28 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.2774, allocations: 15.44 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2774, allocations: 0 / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Templates: time 0.004482/0.2819, allocations: 2.005 MB / 445.1 MB, free: 9.363 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.357764603104442]