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.001885/0.001885, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002241/0.002241, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.94 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2331, allocations: 53.36 MB / 432.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003807/0.2369, allocations: 2.408 MB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2381, allocations: 0.6622 MB / 435.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2382, allocations: 8 kB / 435.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2383, allocations: 35.64 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.2384, allocations: 71.34 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.2388, allocations: 95.75 kB / 435.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.2391, allocations: 282.7 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2393, allocations: 68.25 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.2395, allocations: 123.6 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2396, allocations: 111.5 kB / 436.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.2397, allocations: 20 kB / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.985e-05/0.2398, allocations: 43.98 kB / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.2398, allocations: 47.84 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2399, allocations: 111.4 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.2403, allocations: 298.5 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2403, allocations: 0 / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2403, allocations: 0 / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2403, allocations: 0 / 436.7 MB, free: 2.406 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.000862/0.2412, allocations: 477.5 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2412, allocations: 8.031 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.2414, allocations: 40.73 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.2417, allocations: 186.1 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2417, allocations: 16.81 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.2418, allocations: 20.38 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.2422, allocations: 247 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2422, allocations: 7.953 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2422, allocations: 4 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2422, allocations: 7.984 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.2426, allocations: 153.6 kB / 437.8 MB, free: 1.191 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.001265/0.2438, allocations: 0.6251 MB / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.2442, allocations: 138.6 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.2444, allocations: 88.77 kB / 438.7 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2444, allocations: 4 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2444, allocations: 30.56 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.156e-06/0.2444, allocations: 7.938 kB / 438.7 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001313/0.2457, allocations: 342.3 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.2458, allocations: 55.41 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2459, allocations: 175.3 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.246, allocations: 25.7 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2461, allocations: 148.4 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2461, allocations: 67.42 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.2462, allocations: 37.66 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2464, allocations: 334.8 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2465, allocations: 43.98 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2466, allocations: 73.62 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.2469, allocations: 132.4 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2469, allocations: 0 / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004347/0.2473, allocations: 218.3 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2473, allocations: 4 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2473, allocations: 4.031 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.2488, allocations: 216.6 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.249, allocations: 27.98 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005478/0.2495, allocations: 0.6147 MB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2496, allocations: 19.88 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2497, allocations: 8.062 kB / 441.2 MB, free: 13.62 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.0001289/0.2498, allocations: 126.9 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.2498, allocations: 19.84 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.2503, allocations: 234.9 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2503, allocations: 0 / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2503, allocations: 4 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2504, allocations: 15.84 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2504, allocations: 4 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.2505, allocations: 15.98 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2506, allocations: 11.92 kB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000884/0.2515, allocations: 349.5 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005598/0.252, allocations: 424.6 kB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001265/0.2522, allocations: 55.95 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2523, allocations: 131.2 kB / 442.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Backend: time 3.1e-07/0.2523, allocations: 3.938 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.2529, allocations: 189.1 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.001179/0.2541, allocations: 1.035 MB / 443.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Templates: time 0.00652/0.2606, allocations: 2.836 MB / 446.7 MB, free: 8.137 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] 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: 4.305927649002115]