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.001456/0.001456, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001578/0.001578, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001659/0.001659, allocations: 51.91 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1017, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004096/0.1058, allocations: 2.557 MB / 429.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.107, allocations: 0.6972 MB / 430.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1071, allocations: 4 kB / 430.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1073, allocations: 35.64 kB / 430.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1074, allocations: 75.3 kB / 430.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1077, allocations: 95.81 kB / 430.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.1081, allocations: 290.6 kB / 430.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1083, allocations: 60.31 kB / 430.6 MB, free: 488 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1085, allocations: 115.6 kB / 430.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1087, allocations: 115.5 kB / 430.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1088, allocations: 24 kB / 430.9 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1089, allocations: 40 kB / 430.9 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.1089, allocations: 55.75 kB / 431 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.109, allocations: 123.4 kB / 431.1 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2279/0.3369, allocations: 285.2 kB / 431.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.337, allocations: 1 kB / 431.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.337, allocations: 0 / 431.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.337, allocations: 0.7969 kB / 431.4 MB, free: 8.43 MB / 350.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.0009448/0.3379, allocations: 0.5369 MB / 431.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.338, allocations: 11.14 kB / 431.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.3382, allocations: 39.11 kB / 431.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3385, allocations: 244.1 kB / 432.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.3385, allocations: 12.84 kB / 432.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.3385, allocations: 25.66 kB / 432.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.3389, allocations: 191.1 kB / 432.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3389, allocations: 3.938 kB / 432.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.339, allocations: 9.656 kB / 432.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.339, allocations: 7.688 kB / 432.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.3393, allocations: 150.8 kB / 432.6 MB, free: 7.727 MB / 350.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.001304/0.3406, allocations: 0.9313 MB / 433.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.3409, allocations: 141.1 kB / 433.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3411, allocations: 90.61 kB / 433.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3411, allocations: 4.859 kB / 433.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.3411, allocations: 39.72 kB / 433.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.3411, allocations: 3.281 kB / 433.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00127/0.3424, allocations: 413 kB / 434.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.3425, allocations: 56.44 kB / 434.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3426, allocations: 176 kB / 434.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3426, allocations: 31.78 kB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.3427, allocations: 154.5 kB / 434.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.3427, allocations: 67.59 kB / 434.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.3428, allocations: 34.67 kB / 434.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.3428, allocations: 327.2 kB / 435 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.343, allocations: 54.45 kB / 435.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3431, allocations: 70.5 kB / 435.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3433, allocations: 130 kB / 435.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3433, allocations: 0.9375 kB / 435.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003954/0.3437, allocations: 216.2 kB / 435.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3437, allocations: 6.656 kB / 435.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3437, allocations: 1.188 kB / 435.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.3451, allocations: 223 kB / 435.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3453, allocations: 36.03 kB / 435.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004129/0.3457, allocations: 0.6049 MB / 436.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3458, allocations: 15.25 kB / 436.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3458, allocations: 6.906 kB / 436.4 MB, free: 5.594 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.0001071/0.346, allocations: 137.4 kB / 436.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.346, allocations: 21 kB / 436.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.3465, allocations: 224.8 kB / 436.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3465, allocations: 2.062 kB / 436.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3465, allocations: 0 / 436.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3465, allocations: 2.375 kB / 436.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.3474, allocations: 0.5916 MB / 437.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3474, allocations: 1.422 kB / 437.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3476, allocations: 26.98 kB / 437.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.3487, allocations: 205.7 kB / 437.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3487, allocations: 5.891 kB / 437.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003566/0.3491, allocations: 0.6275 MB / 438.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3491, allocations: 5.188 kB / 438.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.3499, allocations: 421 kB / 438.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.35, allocations: 106.2 kB / 438.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.35, allocations: 2.594 kB / 438.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3501, allocations: 10.59 kB / 438.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.3502, allocations: 9.547 kB / 438.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3502, allocations: 9.031 kB / 438.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.275e-05/0.3503, allocations: 128.3 kB / 438.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 438.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.3506, allocations: 63.88 kB / 438.9 MB, free: 4.184 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.0001422/0.3508, allocations: 111.4 kB / 439 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.3512, allocations: 142.9 kB / 439.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3512, allocations: 0 / 439.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.3514, allocations: 79.02 kB / 439.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3518, allocations: 43.83 kB / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3528, allocations: 0.5511 MB / 439.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.353, allocations: 0.7433 MB / 440.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.3531, allocations: 14.88 kB / 440.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.3531, allocations: 13.31 kB / 440.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3531, allocations: 4.688 kB / 440.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Templates: time 0.007216/0.3603, allocations: 2.601 MB / 443.2 MB, free: 2.902 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/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.965674877166748]