Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001287/0.001287, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001528/0.001528, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 8.008 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2551, allocations: 53.37 MB / 431.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00398/0.259, allocations: 2.564 MB / 433.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2604, allocations: 0.7089 MB / 434.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2605, allocations: 7.938 kB / 434.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.2606, allocations: 31.66 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2608, allocations: 83.27 kB / 434.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.2611, allocations: 99.75 kB / 434.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.2614, allocations: 270.8 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2616, allocations: 65.3 kB / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.2618, allocations: 115.5 kB / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.2619, allocations: 119.5 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.262, allocations: 24 kB / 435.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.2621, allocations: 43.98 kB / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.2621, allocations: 47.84 kB / 435.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.2622, allocations: 127.3 kB / 435.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.2626, allocations: 295.3 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2626, allocations: 0 / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2626, allocations: 0 / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2626, allocations: 0 / 435.7 MB, free: 2.375 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.0008143/0.2634, allocations: 469.5 kB / 436.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.2635, allocations: 12.03 kB / 436.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.2635, allocations: 50.73 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2637, allocations: 40.73 kB / 436.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.264, allocations: 190.1 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2641, allocations: 16.81 kB / 436.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.2641, allocations: 24.36 kB / 436.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.2645, allocations: 195.4 kB / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2645, allocations: 0 / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.2645, allocations: 7.938 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2645, allocations: 8 kB / 436.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.2648, allocations: 153.6 kB / 436.9 MB, free: 1.164 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.001341/0.2662, allocations: 0.8899 MB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.2665, allocations: 146.6 kB / 437.9 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2667, allocations: 92.81 kB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2667, allocations: 0 / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2667, allocations: 34.56 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.2667, allocations: 0 / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001219/0.2679, allocations: 341 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.268, allocations: 59.41 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2682, allocations: 184.3 kB / 438.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.2682, allocations: 25.7 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2683, allocations: 152.4 kB / 438.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.2683, allocations: 63.44 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.2684, allocations: 33.7 kB / 438.9 MB, free: 15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2685, allocations: 334.8 kB / 439.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2687, allocations: 43.98 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2688, allocations: 73.69 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.269, allocations: 131.5 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.269, allocations: 0 / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003896/0.2694, allocations: 214.3 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2694, allocations: 8 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2694, allocations: 7.969 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.2708, allocations: 212.6 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2709, allocations: 27.98 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005155/0.2714, allocations: 0.6187 MB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2715, allocations: 19.91 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2716, allocations: 8 kB / 440.5 MB, free: 13.26 MB / 350.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.0001262/0.2717, allocations: 137.7 kB / 440.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.2717, allocations: 15.91 kB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.2722, allocations: 223.4 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2722, allocations: 8.047 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2722, allocations: 4 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2722, allocations: 11.92 kB / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.2731, allocations: 0.5652 MB / 441.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2731, allocations: 3.938 kB / 441.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2732, allocations: 28.02 kB / 441.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.2743, allocations: 200.6 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.2743, allocations: 4 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004927/0.2748, allocations: 0.6225 MB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2748, allocations: 0 / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.2757, allocations: 435.5 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.2757, allocations: 19.83 kB / 442.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.2757, allocations: 8 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2759, allocations: 8.062 kB / 442.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.2759, allocations: 15.97 kB / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2759, allocations: 4 kB / 442.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.276, allocations: 132.1 kB / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.276, allocations: 0 / 443 MB, free: 10.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.2764, allocations: 55.89 kB / 443 MB, free: 10.67 MB / 350.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.001188/0.2775, allocations: 0.9521 MB / 444 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.278, allocations: 151.7 kB / 444.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.278, allocations: 0 / 444.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2782, allocations: 75.89 kB / 444.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2785, allocations: 26.39 kB / 444.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.2816, allocations: 2.355 MB / 446.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2819, allocations: 0.7359 MB / 447.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.282, allocations: 13.48 kB / 447.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.2821, allocations: 59.42 kB / 447.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2821, allocations: 0 / 447.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3155, allocations: 4.986 MB / 452.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.66, allocations: 4.062 kB / 452.4 MB, free: 1.324 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.177404010999453]