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.001037/0.001037, allocations: 75.75 kB / 21.97 MB, free: 2.613 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.001011/0.001011, allocations: 168.9 kB / 25.33 MB, free: 9.055 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.9443/0.9443, allocations: 158.6 MB / 187.2 MB, free: 2.934 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 2.565e-06/2.565e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.775e-05, allocations: 6.25 kB / 251.1 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003792/0.00383, allocations: 2.483 MB / 253.5 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.005141, allocations: 0.6632 MB / 254.2 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.005265, allocations: 4 kB / 254.2 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.005424, allocations: 39.64 kB / 254.2 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.005559, allocations: 71.28 kB / 254.3 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.005913, allocations: 83.77 kB / 254.4 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.006212, allocations: 286.4 kB / 254.7 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.006389, allocations: 60.55 kB / 254.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.006634, allocations: 163.6 kB / 254.9 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.006789, allocations: 87.77 kB / 255 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.00683, allocations: 24 kB / 255 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.006923, allocations: 35.92 kB / 255 MB, free: 3.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.006979, allocations: 55.77 kB / 255.1 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.007069, allocations: 79.83 kB / 255.2 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.007379, allocations: 199.3 kB / 255.4 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007382, allocations: 3.938 kB / 255.4 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007383, allocations: 0 / 255.4 MB, free: 3.168 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.007389, allocations: 0 / 255.4 MB, free: 3.168 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.0007574/0.008146, allocations: 0.5585 MB / 255.9 MB, free: 2.574 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.008192, allocations: 15.92 kB / 255.9 MB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.00828, allocations: 44.8 kB / 256 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.008548, allocations: 177 kB / 256.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.008569, allocations: 16.88 kB / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.008617, allocations: 20.38 kB / 256.2 MB, free: 2.281 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.008965, allocations: 208.8 kB / 256.4 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.008979, allocations: 192 / 256.4 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.009005, allocations: 11.94 kB / 256.4 MB, free: 2.043 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.009017, allocations: 4 kB / 256.4 MB, free: 2.039 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.00922, allocations: 90.86 kB / 256.5 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.01031, allocations: 0.664 MB / 257.2 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.01057, allocations: 119 kB / 257.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.01073, allocations: 63.59 kB / 257.3 MB, free: 1.039 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.01075, allocations: 7.984 kB / 257.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.01078, allocations: 45.39 kB / 257.4 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.01079, allocations: 0 / 257.4 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008864/0.01167, allocations: 280.6 kB / 257.7 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.01172, allocations: 55.41 kB / 257.7 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.01187, allocations: 217.9 kB / 257.9 MB, free: 408 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.01189, allocations: 29.7 kB / 258 MB, free: 372 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.01199, allocations: 191.1 kB / 258.2 MB, free: 176 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.01203, allocations: 67.42 kB / 258.2 MB, free: 108 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.01209, allocations: 39.36 kB / 258.3 MB, free: 60 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.01224, allocations: 0.5001 MB / 258.8 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.0123, allocations: 27.98 kB / 258.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.01238, allocations: 51.28 kB / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01252, allocations: 87.3 kB / 258.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01253, allocations: 0 / 258.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003077/0.01284, allocations: 173.1 kB / 259.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01285, allocations: 8 kB / 259.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01286, allocations: 4 kB / 259.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/0.01367, allocations: 175.5 kB / 259.3 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01378, allocations: 35.86 kB / 259.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005021/0.01428, allocations: 0.8546 MB / 260.2 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.01436, allocations: 11.89 kB / 260.2 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01437, allocations: 8 kB / 260.2 MB, free: 14.06 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.0001056/0.01448, allocations: 164.5 kB / 260.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.01452, allocations: 27.84 kB / 260.4 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.01486, allocations: 183.2 kB / 260.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.01486, allocations: 0 / 260.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01487, allocations: 0 / 260.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01487, allocations: 0 / 260.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.01569, allocations: 0.5004 MB / 261 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01569, allocations: 0 / 261 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.0158, allocations: 31.97 kB / 261.1 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/0.01629, allocations: 159.5 kB / 261.2 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.01631, allocations: 7.984 kB / 261.2 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/0.0167, allocations: 0.8662 MB / 262.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0167, allocations: 4 kB / 262.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.01715, allocations: 402.8 kB / 262.5 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.01718, allocations: 11.91 kB / 262.5 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.0172, allocations: 8 kB / 262.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.01727, allocations: 19.98 kB / 262.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.01731, allocations: 7.984 kB / 262.6 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01732, allocations: 4 kB / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.0174, allocations: 172.1 kB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0174, allocations: 0 / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.01763, allocations: 63.83 kB / 262.8 MB, free: 11.31 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.0001586/0.01779, allocations: 103.2 kB / 262.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.01805, allocations: 113.1 kB / 263 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01805, allocations: 4.062 kB / 263 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.01813, allocations: 72.66 kB / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01838, allocations: 23.98 kB / 263.1 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.01934, allocations: 0.4912 MB / 263.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.0194, allocations: 76.22 kB / 263.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.01944, allocations: 17.48 kB / 263.7 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.01949, allocations: 12.5 kB / 263.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01949, allocations: 0 / 263.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Templates: time 0.004171/0.02367, allocations: 2.248 MB / 265.9 MB, free: 8.113 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.9857563762925565]