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.001209/0.001209, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001339/0.001339, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.359/1.359, allocations: 230.6 MB / 258.3 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+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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 47.92 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2542, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004646/0.2588, allocations: 2.565 MB / 434.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2602, allocations: 0.709 MB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2603, allocations: 7.938 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2605, allocations: 35.59 kB / 435.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.2606, allocations: 75.33 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.261, allocations: 95.75 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.2613, allocations: 274.8 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2616, allocations: 70.98 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.2618, allocations: 119.5 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2621, allocations: 115.5 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.2621, allocations: 20 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.2623, allocations: 36 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.2623, allocations: 55.83 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2625, allocations: 123.4 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.263, allocations: 290.8 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.263, allocations: 0 / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.263, allocations: 3.938 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.263, allocations: 8 kB / 436.5 MB, free: 2.277 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.000948/0.264, allocations: 469.5 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.264, allocations: 8.031 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.824e-05/0.2641, allocations: 12.56 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.2641, allocations: 54.73 kB / 437 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.2643, allocations: 40.73 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.2647, allocations: 190.1 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2647, allocations: 16.81 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.2648, allocations: 20.36 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.2652, allocations: 195.2 kB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2652, allocations: 0 / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2652, allocations: 7.938 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2652, allocations: 12 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.2655, allocations: 153.6 kB / 437.7 MB, free: 1.055 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.001397/0.2669, allocations: 0.8899 MB / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.2673, allocations: 134.6 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2675, allocations: 92.81 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2675, allocations: 3.984 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2675, allocations: 42.5 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.2675, allocations: 0 / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001239/0.2688, allocations: 337.2 kB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.2688, allocations: 55.41 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.269, allocations: 180.4 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.269, allocations: 25.7 kB / 439.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2691, allocations: 156.4 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.2692, allocations: 63.44 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.2693, allocations: 37.7 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2694, allocations: 330.8 kB / 440 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2696, allocations: 47.98 kB / 440 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2697, allocations: 71.56 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.2699, allocations: 132.7 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2699, allocations: 0 / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004137/0.2704, allocations: 214.3 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2704, allocations: 11.94 kB / 440.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2704, allocations: 0 / 440.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.2717, allocations: 220.6 kB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2718, allocations: 27.98 kB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005767/0.2724, allocations: 0.6109 MB / 441.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2725, allocations: 15.92 kB / 441.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2725, allocations: 11.97 kB / 441.3 MB, free: 13.16 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.000146/0.2727, allocations: 141.8 kB / 441.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.2727, allocations: 15.91 kB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.2732, allocations: 224.2 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2732, allocations: 7.922 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2732, allocations: 0 / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2732, allocations: 3.984 kB / 441.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.2741, allocations: 0.573 MB / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2741, allocations: 0 / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2742, allocations: 27.92 kB / 442.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.2753, allocations: 200.7 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2753, allocations: 4 kB / 442.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004791/0.2758, allocations: 0.6226 MB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2758, allocations: 0 / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.2766, allocations: 431.3 kB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.2766, allocations: 19.8 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.2767, allocations: 4 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2768, allocations: 8 kB / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.2768, allocations: 19.91 kB / 443.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2769, allocations: 4 kB / 443.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.277, allocations: 137.3 kB / 443.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.277, allocations: 0 / 443.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.2773, allocations: 59.89 kB / 443.8 MB, free: 10.57 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.001194/0.2785, allocations: 0.952 MB / 444.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.2789, allocations: 146.1 kB / 444.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2789, allocations: 96 / 444.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.279, allocations: 87.14 kB / 445 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2794, allocations: 27.98 kB / 445 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.2825, allocations: 2.351 MB / 447.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2828, allocations: 0.7359 MB / 448.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.608e-05/0.2829, allocations: 9.5 kB / 448.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.283, allocations: 63.41 kB / 448.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.283, allocations: 0 / 448.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.3104, allocations: 5.013 MB / 453.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.3, allocations: 10.64 kB / 453.2 MB, free: 1.199 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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: 14.740989003970753]