Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002475/0.002475, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002778/0.002778, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.291e-05, allocations: 6.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004262/0.004295, allocations: 2.528 MB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.005741, allocations: 0.6893 MB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.005856, allocations: 4 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.006022, allocations: 39.64 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.006175, allocations: 67.3 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.006525, allocations: 103.7 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.006897, allocations: 290.6 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.007066, allocations: 60.55 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.007605, allocations: 171.5 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.007781, allocations: 91.77 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.007826, allocations: 20 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.007949, allocations: 43.92 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.008013, allocations: 55.75 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.008126, allocations: 83.83 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.008553, allocations: 291.1 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.008556, allocations: 4 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008558, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.008564, allocations: 0 / 276.7 MB, free: 13.25 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.001004/0.009568, allocations: 0.5854 MB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.009609, allocations: 11.98 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.009814, allocations: 52.75 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.01012, allocations: 184.2 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.01014, allocations: 12.88 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.01019, allocations: 24.38 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.0106, allocations: 240.1 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.01061, allocations: 192 / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.01064, allocations: 4.375 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.01065, allocations: 7.938 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.01099, allocations: 145.9 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.0124, allocations: 0.7421 MB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.01274, allocations: 147 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.01296, allocations: 87.73 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.01299, allocations: 4 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.01303, allocations: 41.33 kB / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.01303, allocations: 0 / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001309/0.01434, allocations: 345.2 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.01438, allocations: 55.41 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.01463, allocations: 245.9 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.01466, allocations: 33.7 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.01482, allocations: 203.1 kB / 279.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.01488, allocations: 63.44 kB / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.01497, allocations: 47.36 kB / 280 MB, free: 9.797 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.01525, allocations: 0.504 MB / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.01536, allocations: 39.98 kB / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.01551, allocations: 83.28 kB / 280.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.01577, allocations: 138.5 kB / 280.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01578, allocations: 3.938 kB / 280.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004423/0.01622, allocations: 221.1 kB / 280.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.01624, allocations: 11.28 kB / 280.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01624, allocations: 0 / 280.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.01753, allocations: 191.5 kB / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.01768, allocations: 35.98 kB / 281.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007489/0.01843, allocations: 0.8858 MB / 282.1 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01855, allocations: 15.89 kB / 282.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.01856, allocations: 4 kB / 282.1 MB, free: 7.609 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.0001753/0.01874, allocations: 176.6 kB / 282.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.01879, allocations: 23.89 kB / 282.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.0193, allocations: 230.9 kB / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.0193, allocations: 0 / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01931, allocations: 32 / 282.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01931, allocations: 4 kB / 282.5 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.02032, allocations: 0.5902 MB / 283.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02032, allocations: 3.938 kB / 283.1 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.02047, allocations: 27.98 kB / 283.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.02172, allocations: 171.5 kB / 283.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.02174, allocations: 4 kB / 283.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007367/0.02248, allocations: 0.9014 MB / 284.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02248, allocations: 4.031 kB / 284.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009193/0.0234, allocations: 481.9 kB / 284.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.02343, allocations: 19.86 kB / 284.7 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.02347, allocations: 4 kB / 284.7 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.02361, allocations: 11.98 kB / 284.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.02366, allocations: 15.92 kB / 284.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.02368, allocations: 12.03 kB / 284.7 MB, free: 4.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.02384, allocations: 176.2 kB / 284.9 MB, free: 4.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02384, allocations: 0 / 284.9 MB, free: 4.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.02414, allocations: 59.83 kB / 285 MB, free: 4.59 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.0001788/0.02432, allocations: 107.2 kB / 285.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004398/0.02476, allocations: 156.7 kB / 285.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02476, allocations: 0 / 285.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.02498, allocations: 100.7 kB / 285.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.02531, allocations: 26.86 kB / 285.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02633, allocations: 0.5027 MB / 285.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.02649, allocations: 134.1 kB / 286 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.857e-05/0.02655, allocations: 13.48 kB / 286 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.02658, allocations: 16.5 kB / 286 MB, free: 3.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02658, allocations: 0 / 286 MB, free: 3.48 MB / 266.7 MB Notification: Performance of Templates: time 0.006673/0.03326, allocations: 2.258 MB / 288.3 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.453876463929191]