Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.001017/0.001017, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001108/0.001108, allocations: 174.8 kB / 25.33 MB, free: 9.457 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.8782/0.8782, allocations: 158.6 MB / 187.2 MB, free: 2.477 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.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 4 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.849e-05, allocations: 2.312 kB / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00332/0.003349, allocations: 3.096 MB / 254.1 MB, free: 476 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.004841, allocations: 0.8198 MB / 255 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.005037, allocations: 8 kB / 255 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.00523, allocations: 59.38 kB / 255 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.005421, allocations: 118.8 kB / 255.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.005836, allocations: 155.7 kB / 255.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.006343, allocations: 0.5499 MB / 255.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.006602, allocations: 112.8 kB / 256 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.007011, allocations: 323.3 kB / 256.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.007216, allocations: 191.5 kB / 256.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.007276, allocations: 52 kB / 256.5 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.007375, allocations: 52 kB / 256.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.007445, allocations: 119.6 kB / 256.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.007579, allocations: 175.6 kB / 256.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.007999, allocations: 382.7 kB / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.008004, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008005, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.008013, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001248/0.009261, allocations: 0.7922 MB / 258 MB, free: 12.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.009303, allocations: 11.98 kB / 258 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.009415, allocations: 76.66 kB / 258.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.00971, allocations: 255.3 kB / 258.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.009735, allocations: 33.38 kB / 258.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.009787, allocations: 40.38 kB / 258.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.01037, allocations: 0.5413 MB / 259 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01038, allocations: 4.125 kB / 259 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.01041, allocations: 16.38 kB / 259 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.01043, allocations: 11.94 kB / 259 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.01077, allocations: 221.8 kB / 259.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.01222, allocations: 1.146 MB / 260.4 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.01273, allocations: 275.2 kB / 260.6 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.0129, allocations: 124.3 kB / 260.7 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.01293, allocations: 12.33 kB / 260.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.01296, allocations: 41.72 kB / 260.8 MB, free: 9.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.01296, allocations: 0 / 260.8 MB, free: 9.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001918/0.01488, allocations: 0.8619 MB / 261.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.01496, allocations: 166.2 kB / 261.8 MB, free: 8.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.01515, allocations: 300.2 kB / 262.1 MB, free: 8.184 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.01518, allocations: 33.7 kB / 262.2 MB, free: 8.145 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.0153, allocations: 263.3 kB / 262.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.01538, allocations: 138.8 kB / 262.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.01548, allocations: 83.8 kB / 262.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01562, allocations: 0.5118 MB / 263.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.01576, allocations: 76.95 kB / 263.2 MB, free: 7.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.01596, allocations: 320 kB / 263.5 MB, free: 6.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.01625, allocations: 265.3 kB / 263.8 MB, free: 6.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01626, allocations: 0 / 263.8 MB, free: 6.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006617/0.01692, allocations: 468.2 kB / 264.2 MB, free: 5.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.01694, allocations: 4.219 kB / 264.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.01695, allocations: 8 kB / 264.3 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.01764, allocations: 247.1 kB / 264.5 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01781, allocations: 79.83 kB / 264.6 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.01892, allocations: 1.748 MB / 266.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.01911, allocations: 59.77 kB / 266.4 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01913, allocations: 15.92 kB / 266.4 MB, free: 3.68 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.01925, allocations: 180.5 kB / 266.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.01931, allocations: 47.77 kB / 266.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.02009, allocations: 494.8 kB / 267.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.0201, allocations: 7.984 kB / 267.1 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.0201, allocations: 4 kB / 267.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02011, allocations: 0 / 267.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.02042, allocations: 312.3 kB / 267.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.02043, allocations: 7.938 kB / 267.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.02057, allocations: 55.89 kB / 267.5 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005385/0.02111, allocations: 247.1 kB / 267.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.02114, allocations: 8 kB / 267.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007148/0.02185, allocations: 1.764 MB / 269.5 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02185, allocations: 0 / 269.5 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.02276, allocations: 0.7055 MB / 270.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.0228, allocations: 39.61 kB / 270.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.02284, allocations: 12 kB / 270.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.02297, allocations: 23.98 kB / 270.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.02304, allocations: 27.94 kB / 270.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.02306, allocations: 12 kB / 270.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.02319, allocations: 209.1 kB / 270.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02319, allocations: 0 / 270.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.02352, allocations: 111.8 kB / 270.6 MB, free: 15.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.02368, allocations: 111.2 kB / 270.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.02417, allocations: 290.8 kB / 271 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02417, allocations: 0 / 271 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.02439, allocations: 172.3 kB / 271.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.02466, allocations: 52.33 kB / 271.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.02595, allocations: 0.7596 MB / 272 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.02631, allocations: 105 kB / 272.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.0264, allocations: 22.98 kB / 272.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.02645, allocations: 36.44 kB / 272.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of SimCode: time 2.003e-06/0.02645, allocations: 0 / 272.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of Templates: time 0.007038/0.03349, allocations: 5.226 MB / 277.4 MB, free: 8.488 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.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.9485423509031534]