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.001693/0.001693, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002105/0.002105, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.002339/0.002339, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2522, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003634/0.2559, allocations: 2.093 MB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.257, allocations: 0.5805 MB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.2571, allocations: 4 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2572, allocations: 15.8 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.2573, allocations: 51.56 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.2575, allocations: 51.86 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.2577, allocations: 155.3 kB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2579, allocations: 43.55 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.2581, allocations: 75.72 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2582, allocations: 67.7 kB / 435.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.2582, allocations: 12 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.2583, allocations: 27.98 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.2583, allocations: 27.86 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.2584, allocations: 59.73 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.2587, allocations: 166.3 kB / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2587, allocations: 3.984 kB / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2587, allocations: 0 / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2587, allocations: 0 / 435.8 MB, free: 3.312 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.0006626/0.2593, allocations: 373.8 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2594, allocations: 8.031 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.2596, allocations: 36.77 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.2599, allocations: 150.3 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2599, allocations: 8.609 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2599, allocations: 12.38 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.2602, allocations: 145.5 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2602, allocations: 0 / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.2602, allocations: 12 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2602, allocations: 0 / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.2604, allocations: 76.67 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.2612, allocations: 447 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2615, allocations: 86.55 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.2616, allocations: 24.98 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2616, allocations: 4 kB / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2617, allocations: 42.48 kB / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2617, allocations: 0 / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007243/0.2624, allocations: 174.3 kB / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2624, allocations: 55.34 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2626, allocations: 157.7 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2626, allocations: 25.7 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.2627, allocations: 132.1 kB / 437.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.2627, allocations: 23.78 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.2628, allocations: 25.7 kB / 437.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2629, allocations: 322.8 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.263, allocations: 20 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.2631, allocations: 42.81 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2632, allocations: 78.48 kB / 438.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.2633, allocations: 8 kB / 438.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003004/0.2636, allocations: 130.3 kB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2636, allocations: 4 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2636, allocations: 3.938 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.2638, allocations: 40.89 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.2638, allocations: 4 kB / 438.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.2656, allocations: 1.555 MB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.2657, allocations: 8.094 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2657, allocations: 4 kB / 439.9 MB, free: 14.81 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.000127/0.2658, allocations: 117.8 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.2659, allocations: 23.81 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.2659, allocations: 8.719 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2659, allocations: 4 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.2659, allocations: 0 / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2659, allocations: 128 / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2661, allocations: 145.3 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2661, allocations: 0 / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.2661, allocations: 8 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.2663, allocations: 44.8 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2663, allocations: 3.938 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.2678, allocations: 1.551 MB / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2678, allocations: 0 / 441.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.2681, allocations: 224.2 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.2681, allocations: 12.08 kB / 442.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2682, allocations: 4 kB / 442.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2683, allocations: 4 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.2683, allocations: 11.98 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.2683, allocations: 0 / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.2684, allocations: 113.3 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2684, allocations: 0 / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.2688, allocations: 43.89 kB / 442.2 MB, free: 12.34 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.0001038/0.2689, allocations: 95.25 kB / 442.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.2693, allocations: 194.5 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2693, allocations: 0 / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.2696, allocations: 158.6 kB / 442.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2698, allocations: 19.19 kB / 442.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.2704, allocations: 292.7 kB / 443 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2705, allocations: 90.28 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.2706, allocations: 12.42 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.2706, allocations: 7.438 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2706, allocations: 4 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Templates: time 0.004747/0.2753, allocations: 1.609 MB / 444.7 MB, free: 9.82 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 -s gbode -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: 4.401340487005655]