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.000955/0.000955, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00104/0.00104, allocations: 169.2 kB / 24.82 MB, free: 8.918 MB / 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 0.9432/0.9432, allocations: 177.2 MB / 205.3 MB, free: 5.496 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 1.914e-06/1.914e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.44e-05, allocations: 6.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00339/0.003405, allocations: 3.112 MB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.004622, allocations: 0.8349 MB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.00478, allocations: 8 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.004924, allocations: 67.25 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.005068, allocations: 122.9 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.005416, allocations: 159.6 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.005792, allocations: 0.5655 MB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.005991, allocations: 116.8 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.006343, allocations: 331.3 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.006522, allocations: 199.4 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.006571, allocations: 48 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.006654, allocations: 63.98 kB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.006711, allocations: 115.6 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.006816, allocations: 171.6 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.007386, allocations: 394.6 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.007388, allocations: 0 / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.007388, allocations: 0 / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.007392, allocations: 0 / 279.7 MB, free: 10.98 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.0007855/0.008177, allocations: 0.7999 MB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.008209, allocations: 8.031 kB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.00835, allocations: 96.59 kB / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.008585, allocations: 267.3 kB / 280.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.008605, allocations: 25.38 kB / 280.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.008648, allocations: 40.38 kB / 280.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.009067, allocations: 0.5178 MB / 281.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.009078, allocations: 192 / 281.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.009103, allocations: 24.36 kB / 281.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.009111, allocations: 11.94 kB / 281.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.009314, allocations: 170.8 kB / 281.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01051, allocations: 1.158 MB / 282.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.01087, allocations: 252.1 kB / 283 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01097, allocations: 112.2 kB / 283.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01099, allocations: 8.328 kB / 283.2 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01101, allocations: 45.66 kB / 283.2 MB, free: 7.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.01102, allocations: 3.984 kB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001587/0.0126, allocations: 0.8024 MB / 284 MB, free: 6.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.01265, allocations: 162.2 kB / 284.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.0128, allocations: 306.2 kB / 284.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.01283, allocations: 29.7 kB / 284.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.01292, allocations: 263.4 kB / 284.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.01299, allocations: 150.7 kB / 284.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.01308, allocations: 87.81 kB / 285 MB, free: 5.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.0132, allocations: 0.5156 MB / 285.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.01327, allocations: 60.95 kB / 285.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.01344, allocations: 292 kB / 285.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.01365, allocations: 237.2 kB / 286.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01365, allocations: 0 / 286.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005072/0.01416, allocations: 424.3 kB / 286.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01417, allocations: 8 kB / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01417, allocations: 0 / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/0.01496, allocations: 247.1 kB / 286.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.0151, allocations: 75.83 kB / 286.8 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006148/0.01571, allocations: 1.725 MB / 288.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.01586, allocations: 55.7 kB / 288.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.01587, allocations: 19.94 kB / 288.6 MB, free: 1.539 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 9.895e-05/0.01597, allocations: 172.5 kB / 288.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.01602, allocations: 51.88 kB / 288.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.01664, allocations: 459.1 kB / 289.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01664, allocations: 4 kB / 289.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01664, allocations: 0 / 289.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01665, allocations: 0 / 289.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.01688, allocations: 264.6 kB / 289.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01688, allocations: 0 / 289.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.017, allocations: 55.89 kB / 289.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.01744, allocations: 255 kB / 289.8 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.01746, allocations: 8 kB / 289.9 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006132/0.01807, allocations: 1.744 MB / 291.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01807, allocations: 0 / 291.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.01881, allocations: 0.6506 MB / 292.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.01884, allocations: 31.7 kB / 292.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.01887, allocations: 19.95 kB / 292.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.01899, allocations: 27.98 kB / 292.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.01903, allocations: 23.95 kB / 292.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.01905, allocations: 15.92 kB / 292.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.01913, allocations: 203 kB / 292.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01913, allocations: 0 / 292.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.01937, allocations: 115.8 kB / 292.7 MB, free: 13.31 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 9.828e-05/0.01947, allocations: 111.2 kB / 292.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.01979, allocations: 258 kB / 293 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01979, allocations: 4 kB / 293 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.01995, allocations: 155.6 kB / 293.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.02017, allocations: 59.06 kB / 293.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.02136, allocations: 0.7516 MB / 294 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.02141, allocations: 101.1 kB / 294.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.02148, allocations: 30.98 kB / 294.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.02161, allocations: 134.2 kB / 294.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02161, allocations: 0 / 294.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of Templates: time 0.006492/0.0281, allocations: 5.286 MB / 299.6 MB, free: 6.445 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.7823518752120435]