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.001933/0.001933, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001934/0.001934, allocations: 166.8 kB / 25.03 MB, free: 8.418 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.371/1.371, allocations: 158.6 MB / 186.8 MB, free: 2.926 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.124e-06/2.124e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.175e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004218/0.00425, allocations: 2.448 MB / 252.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.005591, allocations: 0.6555 MB / 253.5 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.005705, allocations: 8 kB / 253.5 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.005859, allocations: 31.66 kB / 253.5 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.006, allocations: 75.27 kB / 253.6 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.006318, allocations: 79.72 kB / 253.7 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.006668, allocations: 294.5 kB / 254 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.006832, allocations: 52.55 kB / 254 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.007115, allocations: 163.5 kB / 254.2 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.007289, allocations: 95.75 kB / 254.3 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.007335, allocations: 24 kB / 254.3 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.007431, allocations: 31.94 kB / 254.3 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.007495, allocations: 55.81 kB / 254.4 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.007607, allocations: 87.77 kB / 254.5 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.008035, allocations: 287.1 kB / 254.7 MB, free: 3.441 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.008039, allocations: 0 / 254.7 MB, free: 3.441 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.008041, allocations: 0 / 254.7 MB, free: 3.441 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.008048, allocations: 4 kB / 254.7 MB, free: 3.438 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.001013/0.009061, allocations: 0.5699 MB / 255.3 MB, free: 2.832 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.009106, allocations: 11.98 kB / 255.3 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.009215, allocations: 44.8 kB / 255.4 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.00952, allocations: 177 kB / 255.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.009541, allocations: 12.88 kB / 255.5 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.009591, allocations: 24.38 kB / 255.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.01003, allocations: 240 kB / 255.8 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.01005, allocations: 12.08 kB / 255.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.01007, allocations: 7.938 kB / 255.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01008, allocations: 4 kB / 255.8 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.01042, allocations: 145.9 kB / 256 MB, free: 2.121 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01184, allocations: 0.7304 MB / 256.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.01218, allocations: 151 kB / 256.8 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.01239, allocations: 87.66 kB / 256.9 MB, free: 1.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.01242, allocations: 4 kB / 256.9 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.01245, allocations: 33.39 kB / 257 MB, free: 1.043 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 3.386e-06/0.01246, allocations: 3.984 kB / 257 MB, free: 1.039 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0013/0.01376, allocations: 345.3 kB / 257.3 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.01382, allocations: 55.31 kB / 257.4 MB, free: 0.625 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.01405, allocations: 241.9 kB / 257.6 MB, free: 380 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.01408, allocations: 29.7 kB / 257.6 MB, free: 344 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.01422, allocations: 195.1 kB / 257.8 MB, free: 144 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.01428, allocations: 71.42 kB / 257.9 MB, free: 72 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01437, allocations: 47.36 kB / 257.9 MB, free: 16 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003768/0.01474, allocations: 0.5002 MB / 258.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.01486, allocations: 51.91 kB / 258.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.01501, allocations: 75.3 kB / 258.6 MB, free: 15.37 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.01526, allocations: 139.3 kB / 258.7 MB, free: 15.22 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01526, allocations: 0 / 258.7 MB, free: 15.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004289/0.01569, allocations: 217.1 kB / 258.9 MB, free: 15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.01572, allocations: 8 kB / 258.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01573, allocations: 0 / 258.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.01703, allocations: 191.5 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01718, allocations: 31.92 kB / 259.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007385/0.01791, allocations: 0.8819 MB / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01803, allocations: 15.89 kB / 260 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01805, allocations: 4 kB / 260 MB, free: 13.84 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.0001753/0.01822, allocations: 184.5 kB / 260.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.01828, allocations: 23.83 kB / 260.2 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.0188, allocations: 231 kB / 260.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01881, allocations: 0 / 260.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01881, allocations: 0 / 260.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01882, allocations: 4.031 kB / 260.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.01979, allocations: 0.5824 MB / 261.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.0198, allocations: 0 / 261.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01994, allocations: 27.97 kB / 261.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.02096, allocations: 183.4 kB / 261.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.02097, allocations: 0 / 261.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007192/0.02169, allocations: 0.9014 MB / 262.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02169, allocations: 0 / 262.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/0.02261, allocations: 490.1 kB / 262.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.02265, allocations: 15.91 kB / 262.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.02268, allocations: 4 kB / 262.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.02283, allocations: 11.94 kB / 262.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.02288, allocations: 11.97 kB / 262.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.0229, allocations: 12.03 kB / 262.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.02306, allocations: 176.2 kB / 262.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02306, allocations: 3.938 kB / 262.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.02338, allocations: 63.83 kB / 262.9 MB, free: 10.81 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.0001984/0.02358, allocations: 111.2 kB / 263 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.024, allocations: 153 kB / 263.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.02401, allocations: 0 / 263.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.02422, allocations: 100.8 kB / 263.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.02457, allocations: 19.98 kB / 263.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02561, allocations: 0.4948 MB / 263.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.02575, allocations: 129.5 kB / 263.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.02582, allocations: 17.47 kB / 263.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.02585, allocations: 12.5 kB / 264 MB, free: 9.715 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02585, allocations: 7.938 kB / 264 MB, free: 9.707 MB / 250.7 MB Notification: Performance of Templates: time 0.006905/0.03276, allocations: 2.238 MB / 266.2 MB, free: 7.488 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] 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.382940192008391]