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.001364/0.001364, allocations: 85.91 kB / 22 MB, free: 5.188 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.001412/0.001412, allocations: 162.4 kB / 25.25 MB, free: 3.016 MB / 14.72 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.35/1.35, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 59.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2121, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004198/0.2163, allocations: 2.32 MB / 350.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2176, allocations: 0.6553 MB / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2177, allocations: 0 / 351.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2178, allocations: 35.64 kB / 351.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.218, allocations: 71.34 kB / 351.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.2183, allocations: 83.78 kB / 351.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.2186, allocations: 278.7 kB / 351.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2188, allocations: 60.36 kB / 352 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.219, allocations: 119.5 kB / 352.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2192, allocations: 95.53 kB / 352.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.2193, allocations: 24 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2194, allocations: 35.98 kB / 352.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.2194, allocations: 55.77 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2195, allocations: 103.5 kB / 352.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.2199, allocations: 277.4 kB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2199, allocations: 3.984 kB / 352.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2199, allocations: 3.938 kB / 352.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.2199, allocations: 0 / 352.7 MB, free: 11.31 MB / 318.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.0008836/0.2208, allocations: 465.6 kB / 353.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2209, allocations: 11.98 kB / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.2209, allocations: 32.8 kB / 353.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.2213, allocations: 182.8 kB / 353.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2213, allocations: 12.88 kB / 353.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.2213, allocations: 20.38 kB / 353.4 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.2218, allocations: 243.4 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2218, allocations: 4 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2218, allocations: 8 kB / 353.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2218, allocations: 4 kB / 353.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.2221, allocations: 157.8 kB / 353.8 MB, free: 10.12 MB / 318.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.001271/0.2234, allocations: 0.6258 MB / 354.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.2237, allocations: 138.6 kB / 354.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.2239, allocations: 88.81 kB / 354.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.224, allocations: 4 kB / 354.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.224, allocations: 34.56 kB / 354.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.224, allocations: 0 / 354.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001256/0.2253, allocations: 342.7 kB / 355 MB, free: 8.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.2253, allocations: 55.41 kB / 355.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.2255, allocations: 167.1 kB / 355.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2255, allocations: 25.7 kB / 355.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2256, allocations: 160.4 kB / 355.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.2257, allocations: 59.44 kB / 355.5 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.2257, allocations: 37.7 kB / 355.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2259, allocations: 326.8 kB / 355.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.226, allocations: 51.97 kB / 355.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2261, allocations: 73.62 kB / 356 MB, free: 7.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.2264, allocations: 121.7 kB / 356.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2264, allocations: 0 / 356.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004135/0.2268, allocations: 222.3 kB / 356.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2268, allocations: 8 kB / 356.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2268, allocations: 0 / 356.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.2282, allocations: 212.6 kB / 356.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2283, allocations: 35.91 kB / 356.6 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005369/0.2288, allocations: 0.6187 MB / 357.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.229, allocations: 15.92 kB / 357.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.229, allocations: 8 kB / 357.2 MB, free: 6.559 MB / 318.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.0001446/0.2291, allocations: 133.7 kB / 357.3 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2292, allocations: 19.91 kB / 357.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.2296, allocations: 220.4 kB / 357.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2296, allocations: 0 / 357.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2296, allocations: 4.062 kB / 357.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2296, allocations: 7.938 kB / 357.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.2305, allocations: 0.4994 MB / 358.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2305, allocations: 0 / 358.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2306, allocations: 35.98 kB / 358.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.2317, allocations: 204.5 kB / 358.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.2317, allocations: 12 kB / 358.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005449/0.2323, allocations: 0.6187 MB / 359 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2323, allocations: 0 / 359 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.2331, allocations: 425.3 kB / 359.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.2332, allocations: 19.81 kB / 359.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2332, allocations: 8.125 kB / 359.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2333, allocations: 11.98 kB / 359.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2334, allocations: 7.984 kB / 359.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2334, allocations: 8 kB / 359.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.2335, allocations: 123.5 kB / 359.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2335, allocations: 4 kB / 359.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.2338, allocations: 59.88 kB / 359.6 MB, free: 4.047 MB / 318.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.0001637/0.234, allocations: 107.2 kB / 359.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.2344, allocations: 147.8 kB / 359.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2344, allocations: 0 / 359.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.2346, allocations: 83.84 kB / 359.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2349, allocations: 28.02 kB / 360 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.236, allocations: 0.5452 MB / 360.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2361, allocations: 133.4 kB / 360.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.2362, allocations: 13.42 kB / 360.7 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.2362, allocations: 16.5 kB / 360.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2362, allocations: 0 / 360.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Templates: time 0.006176/0.2424, allocations: 2.227 MB / 362.9 MB, free: 0.6914 MB / 318.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/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.436421546037309]