Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002027/0.002027, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.00259/0.00259, allocations: 161 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 250.4 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.626e-05/4.864e-05, allocations: 5.406 kB / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004996/0.005045, allocations: 2.346 MB / 252.7 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.006611, allocations: 0.6438 MB / 253.3 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.006823, allocations: 7.938 kB / 253.4 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.007029, allocations: 35.64 kB / 253.4 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.007256, allocations: 75.34 kB / 253.5 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.007638, allocations: 83.7 kB / 253.5 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.008087, allocations: 286.4 kB / 253.8 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.008284, allocations: 60.55 kB / 253.9 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.008627, allocations: 159.6 kB / 254 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.008813, allocations: 83.75 kB / 254.1 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.008863, allocations: 24 kB / 254.1 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.008982, allocations: 35.98 kB / 254.2 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.009047, allocations: 55.77 kB / 254.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.009171, allocations: 83.83 kB / 254.3 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.009619, allocations: 287.1 kB / 254.6 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.009623, allocations: 0 / 254.6 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009624, allocations: 0 / 254.6 MB, free: 3.578 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.009633, allocations: 0 / 254.6 MB, free: 3.578 MB / 234.7 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.001042/0.01067, allocations: 473.6 kB / 255.1 MB, free: 3.086 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.01072, allocations: 11.98 kB / 255.1 MB, free: 3.074 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.01083, allocations: 40.8 kB / 255.1 MB, free: 3.035 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.01123, allocations: 174.2 kB / 255.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.01125, allocations: 24.75 kB / 255.3 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.01131, allocations: 24.38 kB / 255.3 MB, free: 2.793 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.01176, allocations: 236.1 kB / 255.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01178, allocations: 4.141 kB / 255.6 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.01182, allocations: 15.94 kB / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.01183, allocations: 4 kB / 255.6 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.01218, allocations: 153.9 kB / 255.7 MB, free: 2.367 MB / 234.7 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.001412/0.01359, allocations: 0.6257 MB / 256.4 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.01396, allocations: 138.6 kB / 256.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.01419, allocations: 89.14 kB / 256.6 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.01422, allocations: 3.906 kB / 256.6 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.01426, allocations: 38.55 kB / 256.6 MB, free: 1.41 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.01426, allocations: 0 / 256.6 MB, free: 1.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001394/0.01565, allocations: 349.3 kB / 257 MB, free: 1.062 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.0157, allocations: 51.41 kB / 257 MB, free: 1 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.01591, allocations: 166.3 kB / 257.2 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.01594, allocations: 29.7 kB / 257.2 MB, free: 0.793 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.01606, allocations: 148.3 kB / 257.4 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.01613, allocations: 67.42 kB / 257.4 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.01621, allocations: 37.7 kB / 257.5 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0004328/0.01664, allocations: 326.8 kB / 257.8 MB, free: 212 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.01679, allocations: 51.98 kB / 257.8 MB, free: 160 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.01693, allocations: 73.62 kB / 257.9 MB, free: 80 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.01724, allocations: 134.1 kB / 258 MB, free: 15.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01724, allocations: 0 / 258 MB, free: 15.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005178/0.01776, allocations: 230.2 kB / 258.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01778, allocations: 4 kB / 258.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01778, allocations: 0 / 258.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.01928, allocations: 216.6 kB / 258.5 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.01943, allocations: 31.98 kB / 258.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006553/0.02009, allocations: 0.6108 MB / 259.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.02022, allocations: 23.92 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.02024, allocations: 11.92 kB / 259.1 MB, free: 14.78 MB / 250.7 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.0001607/0.0204, allocations: 129.8 kB / 259.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.02047, allocations: 23.84 kB / 259.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.021, allocations: 228.2 kB / 259.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02101, allocations: 0 / 259.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.02101, allocations: 0 / 259.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.02102, allocations: 3.984 kB / 259.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.02199, allocations: 499.7 kB / 260 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.02199, allocations: 3.984 kB / 260 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.02216, allocations: 31.92 kB / 260 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.02336, allocations: 204.7 kB / 260.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.02337, allocations: 0 / 260.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/0.02401, allocations: 0.6342 MB / 260.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.02401, allocations: 0 / 260.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009718/0.02498, allocations: 429.1 kB / 261.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.02502, allocations: 23.92 kB / 261.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.02506, allocations: 8 kB / 261.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.02521, allocations: 7.938 kB / 261.3 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.02526, allocations: 15.97 kB / 261.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.02528, allocations: 4 kB / 261.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.02541, allocations: 132.2 kB / 261.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02541, allocations: 0 / 261.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.02575, allocations: 59.89 kB / 261.5 MB, free: 12.27 MB / 250.7 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.0001913/0.02594, allocations: 122 kB / 261.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.02638, allocations: 141.1 kB / 261.8 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02638, allocations: 0 / 261.8 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.02662, allocations: 84.95 kB / 261.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.02697, allocations: 27.98 kB / 261.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.02806, allocations: 482.7 kB / 262.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.02821, allocations: 129.5 kB / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.251e-05/0.02828, allocations: 13.47 kB / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.02832, allocations: 16.5 kB / 262.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02832, allocations: 0 / 262.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of Templates: time 0.007187/0.03551, allocations: 2.242 MB / 264.8 MB, free: 9 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.5485609150491655]