Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00108/0.00108, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001126/0.001126, allocations: 165 kB / 24.56 MB, free: 20 kB / 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 1.039/1.039, allocations: 177.1 MB / 205 MB, free: 5.633 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.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.075e-06/3.075e-06, allocations: 4 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.846e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004495/0.004524, allocations: 3.159 MB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.006271, allocations: 0.8389 MB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.006473, allocations: 4 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.006688, allocations: 55.38 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.006936, allocations: 130.8 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.007409, allocations: 163.7 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.007973, allocations: 0.5655 MB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.008227, allocations: 116.8 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.008713, allocations: 331.3 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.008997, allocations: 199.5 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.009077, allocations: 52 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.009205, allocations: 60 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.009293, allocations: 111.6 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.009466, allocations: 175.6 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.009991, allocations: 394.6 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009995, allocations: 0 / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.009996, allocations: 0 / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.01, allocations: 0 / 279.3 MB, free: 11.18 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001288/0.01129, allocations: 0.7961 MB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.01134, allocations: 12.03 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.01158, allocations: 88.59 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.012, allocations: 267.3 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.01204, allocations: 25.38 kB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.01211, allocations: 40.38 kB / 280.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.01289, allocations: 0.553 MB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01291, allocations: 192 / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.01295, allocations: 16.38 kB / 281.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.01296, allocations: 15.88 kB / 281.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.01341, allocations: 213.8 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.01492, allocations: 1.154 MB / 282.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.01543, allocations: 271.1 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.01561, allocations: 128.2 kB / 282.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.01565, allocations: 16.31 kB / 282.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.01568, allocations: 37.72 kB / 282.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.01568, allocations: 0 / 282.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.003209/0.01889, allocations: 0.8609 MB / 283.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.01897, allocations: 162.2 kB / 283.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.01923, allocations: 302.3 kB / 284.2 MB, free: 5.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.01926, allocations: 33.7 kB / 284.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.01941, allocations: 263.3 kB / 284.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.01953, allocations: 150.8 kB / 284.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.01966, allocations: 87.78 kB / 284.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.01982, allocations: 0.5079 MB / 285.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.02003, allocations: 88.94 kB / 285.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.02035, allocations: 308 kB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.02083, allocations: 269.3 kB / 285.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.02083, allocations: 0 / 285.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001141/0.02197, allocations: 472.3 kB / 286.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.02199, allocations: 4 kB / 286.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.022, allocations: 4 kB / 286.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.02303, allocations: 251.1 kB / 286.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.02331, allocations: 75.83 kB / 286.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.0245, allocations: 1.744 MB / 288.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.02481, allocations: 51.72 kB / 288.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.02485, allocations: 23.92 kB / 288.5 MB, free: 1.457 MB / 266.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.0001744/0.02502, allocations: 180.6 kB / 288.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.02509, allocations: 47.81 kB / 288.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00083/0.02592, allocations: 491.2 kB / 289.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.02592, allocations: 7.938 kB / 289.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.02593, allocations: 0 / 289.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.02593, allocations: 0 / 289.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.02625, allocations: 316 kB / 289.5 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02625, allocations: 0 / 289.5 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.02641, allocations: 55.91 kB / 289.6 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/0.02696, allocations: 251.1 kB / 289.8 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.02698, allocations: 8 kB / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000794/0.02777, allocations: 1.752 MB / 291.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02778, allocations: 3.984 kB / 291.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.0287, allocations: 0.7131 MB / 292.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.02873, allocations: 39.67 kB / 292.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.02877, allocations: 12 kB / 292.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.0289, allocations: 23.98 kB / 292.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.02896, allocations: 27.94 kB / 292.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.02897, allocations: 16 kB / 292.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.02908, allocations: 211 kB / 292.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02908, allocations: 0 / 292.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.02935, allocations: 111.8 kB / 292.7 MB, free: 13.06 MB / 282.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.0002614/0.02961, allocations: 115.2 kB / 292.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.03008, allocations: 305.9 kB / 293.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.03009, allocations: 0 / 293.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.03029, allocations: 172.1 kB / 293.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.03056, allocations: 56.77 kB / 293.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.03174, allocations: 0.7547 MB / 294.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.0318, allocations: 101.1 kB / 294.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.239e-05/0.03188, allocations: 38.95 kB / 294.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.03194, allocations: 28.5 kB / 294.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03194, allocations: 0 / 294.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of Templates: time 0.007471/0.03941, allocations: 5.23 MB / 299.5 MB, free: 6.262 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8696357156150043]