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.0008923/0.0008923, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009718/0.0009718, allocations: 169.9 kB / 24.91 MB, free: 9.184 MB / 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 0.9045/0.9045, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.497e-05, allocations: 2.312 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003974/0.003999, allocations: 2.546 MB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.005343, allocations: 0.6931 MB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.005495, allocations: 7.938 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.005669, allocations: 39.64 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.005835, allocations: 83.2 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.006186, allocations: 95.75 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.006496, allocations: 294.5 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.006655, allocations: 62.5 kB / 277.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.006932, allocations: 159.7 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.007094, allocations: 95.64 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.007133, allocations: 24 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.007232, allocations: 47.91 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.007276, allocations: 47.83 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.007373, allocations: 91.77 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.007666, allocations: 199.3 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007669, allocations: 0 / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.00767, allocations: 0 / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.007674, allocations: 0 / 277.9 MB, free: 12.82 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.0006552/0.00833, allocations: 452.1 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.008366, allocations: 12.03 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.008524, allocations: 40.89 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.008751, allocations: 169.4 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.008769, allocations: 12.88 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.008817, allocations: 20.38 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.009076, allocations: 204.7 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.009088, allocations: 192 / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.009108, allocations: 8.375 kB / 278.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.009118, allocations: 15.94 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.00925, allocations: 61.45 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.01014, allocations: 0.4966 MB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.01034, allocations: 106.5 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.01045, allocations: 52.77 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.01047, allocations: 4 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.0105, allocations: 42.55 kB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.844e-06/0.0105, allocations: 0 / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007549/0.01125, allocations: 228.2 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.01128, allocations: 51.41 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.01141, allocations: 174.6 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.01143, allocations: 25.7 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.0115, allocations: 144.4 kB / 280.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.01155, allocations: 63.47 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.01161, allocations: 37.69 kB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01171, allocations: 330.8 kB / 280.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.01175, allocations: 15.94 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.01181, allocations: 40.69 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.01192, allocations: 68.55 kB / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01192, allocations: 0 / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002304/0.01216, allocations: 134.3 kB / 280.9 MB, free: 9.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01217, allocations: 8 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01218, allocations: 0 / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007591/0.01293, allocations: 164.7 kB / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01304, allocations: 31.92 kB / 281.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003534/0.0134, allocations: 0.5601 MB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.01347, allocations: 15.89 kB / 281.6 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01349, allocations: 4 kB / 281.7 MB, free: 8.852 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 9.617e-05/0.01358, allocations: 121.8 kB / 281.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.01362, allocations: 15.98 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.01389, allocations: 148.1 kB / 281.9 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.01389, allocations: 4 kB / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01389, allocations: 0 / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01389, allocations: 0 / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.01445, allocations: 352.2 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01445, allocations: 0 / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.01457, allocations: 36.02 kB / 282.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.01517, allocations: 152.6 kB / 282.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.01519, allocations: 8 kB / 282.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003366/0.01553, allocations: 0.5717 MB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01553, allocations: 0 / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.01599, allocations: 306.3 kB / 283.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.01601, allocations: 15.84 kB / 283.4 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.01604, allocations: 16.05 kB / 283.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.01615, allocations: 7.984 kB / 283.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.01619, allocations: 15.89 kB / 283.4 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.0162, allocations: 7.984 kB / 283.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.01625, allocations: 41.88 kB / 283.4 MB, free: 6.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01626, allocations: 0 / 283.4 MB, free: 6.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.01657, allocations: 67.78 kB / 283.5 MB, free: 6.895 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.0001469/0.01672, allocations: 88.36 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.01695, allocations: 89.86 kB / 283.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01695, allocations: 0 / 283.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.01705, allocations: 57.94 kB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.01731, allocations: 23.98 kB / 283.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.01837, allocations: 493 kB / 284.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.01843, allocations: 80.22 kB / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.01849, allocations: 17.47 kB / 284.3 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01859, allocations: 75.36 kB / 284.4 MB, free: 5.926 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.0186, allocations: 0 / 284.4 MB, free: 5.926 MB / 266.7 MB Notification: Performance of Templates: time 0.004953/0.02355, allocations: 2.391 MB / 286.8 MB, free: 3.574 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6812932612374425]