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.00182/0.00182, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001949/0.001949, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.573e-06/1.573e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.461e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004366/0.004391, allocations: 2.536 MB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.005731, allocations: 0.6738 MB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.005849, allocations: 7.938 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.006003, allocations: 35.64 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.006171, allocations: 79.28 kB / 275.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.006503, allocations: 95.73 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.006861, allocations: 294.6 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.00703, allocations: 56.48 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.007337, allocations: 175.6 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.007505, allocations: 83.77 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.00755, allocations: 24 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.00766, allocations: 47.86 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.007725, allocations: 59.75 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.007836, allocations: 79.83 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.008261, allocations: 291.1 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.008263, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008264, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.008269, allocations: 4 kB / 276.8 MB, free: 13.3 MB / 266.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.0009762/0.009245, allocations: 0.5854 MB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.009282, allocations: 8.031 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.009474, allocations: 52.75 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.009775, allocations: 184.3 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.009798, allocations: 16.88 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.009845, allocations: 20.38 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.01027, allocations: 236 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01028, allocations: 4.188 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.0103, allocations: 12.38 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01032, allocations: 7.938 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.01066, allocations: 141.9 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.01211, allocations: 0.7421 MB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.01245, allocations: 143 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.01266, allocations: 95.73 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01269, allocations: 4 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.01273, allocations: 33.39 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.01273, allocations: 0 / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001356/0.01408, allocations: 341.2 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.01413, allocations: 59.41 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.01439, allocations: 249.9 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.01442, allocations: 33.64 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.01458, allocations: 203.1 kB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.01465, allocations: 63.44 kB / 280 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.01474, allocations: 47.36 kB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003031/0.01504, allocations: 0.5001 MB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.01517, allocations: 51.97 kB / 280.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.01531, allocations: 78.3 kB / 280.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.01557, allocations: 134.6 kB / 280.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01557, allocations: 0 / 280.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006779/0.01625, allocations: 229.1 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01627, allocations: 6.969 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01628, allocations: 0 / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.01757, allocations: 195.4 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01772, allocations: 27.98 kB / 281.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007757/0.0185, allocations: 0.8936 MB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01861, allocations: 11.89 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.01863, allocations: 8 kB / 282.2 MB, free: 7.652 MB / 266.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.000189/0.01882, allocations: 176.6 kB / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.01887, allocations: 23.91 kB / 282.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.0194, allocations: 230 kB / 282.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.0194, allocations: 4 kB / 282.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01941, allocations: 0 / 282.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01941, allocations: 32 / 282.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.02042, allocations: 0.5941 MB / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02042, allocations: 0 / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.02057, allocations: 23.98 kB / 283.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.02161, allocations: 175.5 kB / 283.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.02164, allocations: 8 kB / 283.4 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007919/0.02243, allocations: 0.8975 MB / 284.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.02244, allocations: 4 kB / 284.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.02338, allocations: 474.9 kB / 284.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.02343, allocations: 19.86 kB / 284.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.02346, allocations: 4 kB / 284.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.02361, allocations: 11.98 kB / 284.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.02367, allocations: 15.86 kB / 284.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.02368, allocations: 4 kB / 284.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.02384, allocations: 188.2 kB / 285 MB, free: 4.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02384, allocations: 0 / 285 MB, free: 4.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.02416, allocations: 59.83 kB / 285.1 MB, free: 4.637 MB / 266.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.0001827/0.02434, allocations: 107.2 kB / 285.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.02479, allocations: 156.6 kB / 285.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02479, allocations: 0 / 285.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.02501, allocations: 100.7 kB / 285.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.02534, allocations: 24.11 kB / 285.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02642, allocations: 0.4989 MB / 286 MB, free: 3.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.02658, allocations: 134.1 kB / 286.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.02664, allocations: 9.5 kB / 286.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.02668, allocations: 16.5 kB / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02668, allocations: 0 / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of Templates: time 0.006916/0.03359, allocations: 2.256 MB / 288.4 MB, free: 1.309 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] 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.490580070996657]