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.0008276/0.0008276, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.0009527/0.0009527, allocations: 157.7 kB / 25.44 MB, free: 8.855 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 0.8594/0.8594, allocations: 158.6 MB / 187.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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 1.964e-06/1.964e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.693e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002754/0.002781, allocations: 2.33 MB / 302 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.003675, allocations: 0.6438 MB / 302.7 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.003771, allocations: 4 kB / 302.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.0039, allocations: 39.58 kB / 302.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.386e-05/0.003994, allocations: 71.3 kB / 302.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.004271, allocations: 83.75 kB / 302.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.004492, allocations: 282.6 kB / 303.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004637, allocations: 64.5 kB / 303.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.004807, allocations: 163.6 kB / 303.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.004931, allocations: 79.78 kB / 303.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.004959, allocations: 20 kB / 303.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.005027, allocations: 43.91 kB / 303.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.005064, allocations: 51.83 kB / 303.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.005121, allocations: 87.75 kB / 303.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.005386, allocations: 283.1 kB / 303.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005389, allocations: 3.984 kB / 303.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00539, allocations: 0 / 303.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005396, allocations: 4 kB / 303.9 MB, free: 2.656 MB / 282.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.0005778/0.005973, allocations: 465.6 kB / 304.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.006013, allocations: 11.98 kB / 304.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.00606, allocations: 36.72 kB / 304.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.006281, allocations: 182 kB / 304.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.006296, allocations: 16.88 kB / 304.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.006325, allocations: 20.38 kB / 304.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.006587, allocations: 240.1 kB / 304.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.006599, allocations: 4.188 kB / 304.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.006616, allocations: 11.88 kB / 304.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006622, allocations: 4 kB / 304.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.006819, allocations: 153.9 kB / 305 MB, free: 1.465 MB / 282.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.0007644/0.007583, allocations: 0.6335 MB / 305.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.007795, allocations: 138.6 kB / 305.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.007935, allocations: 88.81 kB / 305.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007954, allocations: 4 kB / 305.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.007972, allocations: 30.56 kB / 305.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.007974, allocations: 4 kB / 305.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006846/0.008658, allocations: 338.3 kB / 306.3 MB, free: 168 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.008689, allocations: 55.41 kB / 306.3 MB, free: 100 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.00881, allocations: 162.3 kB / 306.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.008826, allocations: 29.7 kB / 306.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.008901, allocations: 148.4 kB / 306.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.008944, allocations: 67.36 kB / 306.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.008987, allocations: 37.7 kB / 306.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.009071, allocations: 330.8 kB / 307.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.009139, allocations: 47.98 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.009219, allocations: 77.61 kB / 307.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.009368, allocations: 121.7 kB / 307.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009371, allocations: 4 kB / 307.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00025/0.009621, allocations: 210.3 kB / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.009635, allocations: 8 kB / 307.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.00964, allocations: 8.016 kB / 307.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.01029, allocations: 212.6 kB / 307.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.01037, allocations: 31.92 kB / 307.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003498/0.01072, allocations: 0.6147 MB / 308.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.01077, allocations: 15.91 kB / 308.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01078, allocations: 16.06 kB / 308.4 MB, free: 13.9 MB / 298.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 9.005e-05/0.01087, allocations: 129.8 kB / 308.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.01089, allocations: 23.78 kB / 308.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.01118, allocations: 224.2 kB / 308.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01118, allocations: 7.875 kB / 308.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01118, allocations: 0 / 308.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01119, allocations: 4 kB / 308.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.01167, allocations: 0.5023 MB / 309.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01168, allocations: 0 / 309.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.01175, allocations: 27.98 kB / 309.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.01222, allocations: 200.6 kB / 309.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01224, allocations: 8 kB / 309.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002873/0.01252, allocations: 0.6226 MB / 310.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01253, allocations: 64 / 310.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.01297, allocations: 433.5 kB / 310.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.01299, allocations: 11.94 kB / 310.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.013, allocations: 4 kB / 310.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.01307, allocations: 11.94 kB / 310.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.0131, allocations: 11.97 kB / 310.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01311, allocations: 12.06 kB / 310.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.24e-05/0.01317, allocations: 128.2 kB / 310.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01317, allocations: 0 / 310.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.01336, allocations: 59.83 kB / 310.8 MB, free: 11.4 MB / 298.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.0001165/0.01347, allocations: 107.2 kB / 310.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.01373, allocations: 139.8 kB / 311.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01373, allocations: 4 kB / 311.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.01383, allocations: 87.89 kB / 311.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01404, allocations: 32.02 kB / 311.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.01466, allocations: 0.4892 MB / 311.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.01473, allocations: 129.4 kB / 311.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.01476, allocations: 20.48 kB / 311.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01476, allocations: 0 / 311.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of Templates: time 0.003363/0.01813, allocations: 3.165 MB / 315 MB, free: 7.164 MB / 298.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.286059422418475]