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.001731/0.001731, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001613/0.001613, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001542/0.001542, allocations: 55.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2249, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004008/0.2289, allocations: 2.4 MB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2302, allocations: 0.6661 MB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2304, allocations: 11.94 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.2305, allocations: 35.64 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.2307, allocations: 71.34 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.231, allocations: 99.75 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.2313, allocations: 282.7 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2315, allocations: 68.95 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.2317, allocations: 111.6 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.2319, allocations: 123.5 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.2319, allocations: 20 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.232, allocations: 39.98 kB / 436.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.2321, allocations: 47.84 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2322, allocations: 107.5 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.2325, allocations: 289.8 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2325, allocations: 0 / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2325, allocations: 0 / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2325, allocations: 0 / 436.7 MB, free: 2.316 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.0008814/0.2334, allocations: 481.5 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2335, allocations: 8.031 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2337, allocations: 40.69 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.234, allocations: 194.1 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.234, allocations: 12.81 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.2341, allocations: 20.38 kB / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.2345, allocations: 243 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2345, allocations: 7.953 kB / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.2345, allocations: 8 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2345, allocations: 4 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.2349, allocations: 153.7 kB / 437.8 MB, free: 1.098 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.001292/0.2362, allocations: 0.629 MB / 438.5 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.2365, allocations: 134.5 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.2367, allocations: 84.91 kB / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2367, allocations: 4 kB / 438.7 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2368, allocations: 34.56 kB / 438.7 MB, free: 152 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.2368, allocations: 7.938 kB / 438.7 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001386/0.2382, allocations: 338.3 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2382, allocations: 55.34 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2384, allocations: 175.3 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2384, allocations: 29.7 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2385, allocations: 152.4 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.2386, allocations: 67.38 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.2386, allocations: 37.7 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2388, allocations: 326.8 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2389, allocations: 55.92 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.239, allocations: 73.69 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.2393, allocations: 124.3 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2393, allocations: 3.938 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004382/0.2397, allocations: 222.3 kB / 440.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2397, allocations: 4 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2397, allocations: 0 / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.2413, allocations: 220.6 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2414, allocations: 31.92 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005428/0.242, allocations: 0.6148 MB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.2421, allocations: 15.91 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.2421, allocations: 8 kB / 441.2 MB, free: 13.52 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.0001319/0.2422, allocations: 131 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.2423, allocations: 19.84 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.2428, allocations: 226.9 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2428, allocations: 4 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2428, allocations: 0 / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2428, allocations: 0 / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.2437, allocations: 0.5098 MB / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2437, allocations: 0 / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.2438, allocations: 31.92 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.245, allocations: 196.7 kB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2451, allocations: 7.938 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005321/0.2456, allocations: 0.6265 MB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2456, allocations: 0 / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.2465, allocations: 424.9 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.2465, allocations: 15.88 kB / 443.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.2465, allocations: 11.94 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.2467, allocations: 4 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.2467, allocations: 15.97 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2468, allocations: 11.94 kB / 443.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2469, allocations: 139.2 kB / 443.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2469, allocations: 0 / 443.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.2472, allocations: 63.83 kB / 443.6 MB, free: 11 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.0001669/0.2474, allocations: 106.4 kB / 443.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.2478, allocations: 142.6 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2478, allocations: 0 / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.248, allocations: 76.08 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2483, allocations: 27.92 kB / 444 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2494, allocations: 0.5646 MB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2495, allocations: 126.1 kB / 444.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.2496, allocations: 13.48 kB / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.2496, allocations: 15.44 kB / 444.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2496, allocations: 0 / 444.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Templates: time 0.006438/0.256, allocations: 2.557 MB / 447.3 MB, free: 7.359 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 -s gbode -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.507747029012535]