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.001414/0.001414, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001538/0.001538, allocations: 164 kB / 25.75 MB, free: 8.949 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 0.9401/0.9401, allocations: 158.6 MB / 187.5 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.998e-05, allocations: 6.25 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00448/0.00451, allocations: 2.49 MB / 253.6 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.006264, allocations: 0.6671 MB / 254.3 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.006431, allocations: 4 kB / 254.3 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.006628, allocations: 39.58 kB / 254.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.006804, allocations: 71.3 kB / 254.4 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.007212, allocations: 75.81 kB / 254.5 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.007568, allocations: 286.5 kB / 254.7 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.007766, allocations: 60.55 kB / 254.8 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.008054, allocations: 171.5 kB / 255 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.008243, allocations: 87.77 kB / 255 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.008285, allocations: 20 kB / 255.1 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.961e-05/0.008385, allocations: 35.97 kB / 255.1 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.008437, allocations: 51.83 kB / 255.1 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.008537, allocations: 87.77 kB / 255.2 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.008892, allocations: 191.3 kB / 255.4 MB, free: 3.453 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.008896, allocations: 0 / 255.4 MB, free: 3.453 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008898, allocations: 4 kB / 255.4 MB, free: 3.449 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.008905, allocations: 4 kB / 255.4 MB, free: 3.445 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.0008384/0.009743, allocations: 0.5546 MB / 256 MB, free: 2.855 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.009801, allocations: 15.98 kB / 256 MB, free: 2.84 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.009904, allocations: 40.73 kB / 256 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.01023, allocations: 184.9 kB / 256.2 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.01025, allocations: 16.88 kB / 256.2 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.0103, allocations: 24.33 kB / 256.3 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.01069, allocations: 212.8 kB / 256.5 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01071, allocations: 192 / 256.5 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.01073, allocations: 7.938 kB / 256.5 MB, free: 2.316 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01074, allocations: 8 kB / 256.5 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.01098, allocations: 82.92 kB / 256.6 MB, free: 2.227 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01228, allocations: 0.664 MB / 257.2 MB, free: 1.512 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.01258, allocations: 119 kB / 257.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.01278, allocations: 71.64 kB / 257.4 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.0128, allocations: 4 kB / 257.4 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.01283, allocations: 37.33 kB / 257.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.275e-06/0.01283, allocations: 0 / 257.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001109/0.01394, allocations: 288.8 kB / 257.7 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.01398, allocations: 51.41 kB / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.01417, allocations: 217.9 kB / 258 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.01419, allocations: 29.7 kB / 258 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.0143, allocations: 195.1 kB / 258.2 MB, free: 456 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.01436, allocations: 63.44 kB / 258.3 MB, free: 392 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.01443, allocations: 39.36 kB / 258.3 MB, free: 344 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.01462, allocations: 0.4962 MB / 258.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.0147, allocations: 23.98 kB / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.01481, allocations: 55.28 kB / 258.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.01506, allocations: 91.3 kB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.01507, allocations: 0 / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003002/0.01537, allocations: 173.1 kB / 259.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01538, allocations: 4 kB / 259.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.01539, allocations: 4 kB / 259.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.01609, allocations: 175.5 kB / 259.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.01617, allocations: 27.98 kB / 259.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/0.01655, allocations: 0.8623 MB / 260.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.01662, allocations: 11.89 kB / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01663, allocations: 8 kB / 260.2 MB, free: 14.34 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 9.51e-05/0.01673, allocations: 156.6 kB / 260.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.01676, allocations: 31.78 kB / 260.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.01704, allocations: 179.2 kB / 260.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01704, allocations: 4 kB / 260.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01704, allocations: 0 / 260.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01705, allocations: 4.031 kB / 260.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.01757, allocations: 0.5042 MB / 261.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01757, allocations: 4 kB / 261.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.01766, allocations: 31.97 kB / 261.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.01812, allocations: 151.5 kB / 261.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01813, allocations: 11.98 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003202/0.01845, allocations: 0.8623 MB / 262.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01845, allocations: 3.938 kB / 262.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.01886, allocations: 402.9 kB / 262.6 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.01888, allocations: 19.84 kB / 262.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.0189, allocations: 4 kB / 262.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.01897, allocations: 15.92 kB / 262.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.019, allocations: 7.984 kB / 262.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.01901, allocations: 8 kB / 262.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.807e-05/0.01907, allocations: 172.2 kB / 262.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01907, allocations: 0 / 262.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.01928, allocations: 59.89 kB / 262.8 MB, free: 11.59 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.0001192/0.0194, allocations: 99.25 kB / 262.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.01961, allocations: 117 kB / 263.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01961, allocations: 0 / 263.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.0197, allocations: 68.72 kB / 263.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.01991, allocations: 32.11 kB / 263.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/0.02077, allocations: 0.495 MB / 263.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/0.02082, allocations: 76.22 kB / 263.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.02085, allocations: 9.484 kB / 263.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.02088, allocations: 16.5 kB / 263.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02088, allocations: 3.938 kB / 263.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of Templates: time 0.003874/0.02475, allocations: 2.243 MB / 266 MB, free: 8.391 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","",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.785325882025063]