Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.92 kB / 371.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004011/0.2496, allocations: 2.554 MB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2509, allocations: 0.6467 MB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.251, allocations: 11.94 kB / 427.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.2512, allocations: 39.64 kB / 427.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.2513, allocations: 71.33 kB / 427.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.2516, allocations: 87.83 kB / 427.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.252, allocations: 270.7 kB / 427.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.2521, allocations: 72.48 kB / 427.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.2523, allocations: 107.6 kB / 427.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.2525, allocations: 123.5 kB / 427.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.2525, allocations: 24 kB / 427.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.2526, allocations: 35.98 kB / 427.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.2527, allocations: 51.83 kB / 428 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2528, allocations: 119.4 kB / 428.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.2532, allocations: 280.1 kB / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2532, allocations: 0 / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2532, allocations: 0 / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2532, allocations: 4 kB / 428.4 MB, free: 10.17 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008849/0.2541, allocations: 485.4 kB / 428.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2541, allocations: 8.031 kB / 428.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.2542, allocations: 24.8 kB / 428.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2545, allocations: 182.2 kB / 429 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2545, allocations: 20.75 kB / 429.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.2546, allocations: 20.38 kB / 429.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.255, allocations: 203.5 kB / 429.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.255, allocations: 3.938 kB / 429.3 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.255, allocations: 4 kB / 429.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.255, allocations: 8 kB / 429.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.2553, allocations: 149.7 kB / 429.4 MB, free: 9.023 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.2567, allocations: 0.8783 MB / 430.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.2571, allocations: 150.5 kB / 430.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2573, allocations: 96.27 kB / 430.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.2573, allocations: 0 / 430.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2574, allocations: 34.56 kB / 430.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.2574, allocations: 0 / 430.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001278/0.2586, allocations: 334.3 kB / 430.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2587, allocations: 59.41 kB / 431 MB, free: 7.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.2589, allocations: 180.1 kB / 431.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.2589, allocations: 25.7 kB / 431.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.259, allocations: 148.4 kB / 431.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.259, allocations: 67.42 kB / 431.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.2591, allocations: 33.7 kB / 431.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2593, allocations: 330.8 kB / 431.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2594, allocations: 51.98 kB / 431.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2595, allocations: 79.55 kB / 431.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.2598, allocations: 125.6 kB / 432 MB, free: 6.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2598, allocations: 0 / 432 MB, free: 6.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000408/0.2602, allocations: 216.9 kB / 432.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2602, allocations: 8.031 kB / 432.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2602, allocations: 0 / 432.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.2616, allocations: 224.5 kB / 432.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2617, allocations: 27.98 kB / 432.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/0.2623, allocations: 0.6109 MB / 433.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2624, allocations: 19.91 kB / 433.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.2624, allocations: 4 kB / 433.1 MB, free: 5.141 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.2625, allocations: 129.8 kB / 433.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.2626, allocations: 19.84 kB / 433.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.263, allocations: 232.2 kB / 433.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.263, allocations: 7.938 kB / 433.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2631, allocations: 0 / 433.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2631, allocations: 0 / 433.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000911/0.264, allocations: 0.5653 MB / 434 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.264, allocations: 0 / 434 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2641, allocations: 35.95 kB / 434.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2652, allocations: 196.6 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2652, allocations: 4 kB / 434.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005055/0.2657, allocations: 0.6187 MB / 434.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2657, allocations: 0 / 434.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/0.2666, allocations: 432.3 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.2666, allocations: 23.77 kB / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2667, allocations: 4 kB / 435.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2668, allocations: 16.05 kB / 435.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.2669, allocations: 11.98 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2669, allocations: 8 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.267, allocations: 139.5 kB / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.267, allocations: 0 / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.2673, allocations: 55.89 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.2675, allocations: 110.4 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.2679, allocations: 139.9 kB / 435.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2679, allocations: 0 / 435.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.2681, allocations: 86.39 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2684, allocations: 28.03 kB / 435.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2694, allocations: 0.5938 MB / 436.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.2698, allocations: 0.7361 MB / 437.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.2698, allocations: 15.44 kB / 437.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2698, allocations: 0 / 437.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of Templates: time 0.005594/0.2754, allocations: 3.12 MB / 440.4 MB, free: 13.65 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.399348574923351]