Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 173.3 MB / 201.1 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.934e-05, allocations: 6.25 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.009172/0.009201, allocations: 3.124 MB / 271.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.0107, allocations: 0.7882 MB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.01091, allocations: 11.94 kB / 271.9 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.01111, allocations: 63.31 kB / 272 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.01131, allocations: 118.8 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.01173, allocations: 155.7 kB / 272.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.01224, allocations: 0.5694 MB / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.01246, allocations: 116.8 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.01286, allocations: 323.3 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.0131, allocations: 195.5 kB / 273.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.01317, allocations: 52 kB / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.01327, allocations: 55.98 kB / 273.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.01335, allocations: 111.6 kB / 273.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.0135, allocations: 175.6 kB / 273.8 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.01395, allocations: 386.7 kB / 274.2 MB, free: 148 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01395, allocations: 0 / 274.2 MB, free: 148 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01395, allocations: 4 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.01396, allocations: 0 / 274.2 MB, free: 144 kB / 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.001118/0.01508, allocations: 0.7924 MB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01512, allocations: 12.86 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01525, allocations: 80.66 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.01558, allocations: 251.3 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.01561, allocations: 29.38 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.01567, allocations: 40.38 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.01637, allocations: 0.553 MB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01639, allocations: 4.188 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.01643, allocations: 12.38 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.01644, allocations: 11.94 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.01687, allocations: 217.8 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.0186, allocations: 1.139 MB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.01925, allocations: 276.2 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.01945, allocations: 127.7 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.01948, allocations: 12.31 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.01951, allocations: 41.72 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.01951, allocations: 4 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002427/0.02194, allocations: 0.8608 MB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.022, allocations: 162.2 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.02223, allocations: 310.3 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.02226, allocations: 33.7 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.02252, allocations: 267.3 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/0.02261, allocations: 142.7 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.02273, allocations: 75.86 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.02286, allocations: 0.5157 MB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.02302, allocations: 76.95 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.02328, allocations: 316 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.02365, allocations: 269.3 kB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02366, allocations: 0 / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008222/0.02448, allocations: 468.2 kB / 281.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.0245, allocations: 4 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.02451, allocations: 7.984 kB / 281.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000752/0.02526, allocations: 255.3 kB / 281.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.02547, allocations: 71.83 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.02661, allocations: 1.74 MB / 283.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.02683, allocations: 55.7 kB / 283.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.02686, allocations: 24 kB / 283.4 MB, free: 6.438 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.0001421/0.027, allocations: 184.5 kB / 283.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.02708, allocations: 47.81 kB / 283.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009858/0.02806, allocations: 490.8 kB / 284.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.02807, allocations: 4 kB / 284.1 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.02807, allocations: 4 kB / 284.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.02808, allocations: 3.984 kB / 284.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.02846, allocations: 312.2 kB / 284.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02846, allocations: 0 / 284.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.02865, allocations: 55.89 kB / 284.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006465/0.02929, allocations: 251.1 kB / 284.7 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.02932, allocations: 4 kB / 284.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.03018, allocations: 1.772 MB / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03018, allocations: 0 / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.03132, allocations: 0.7013 MB / 287.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.03137, allocations: 43.62 kB / 287.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.03142, allocations: 8 kB / 287.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.0316, allocations: 23.98 kB / 287.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.03167, allocations: 27.94 kB / 287.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.03169, allocations: 12 kB / 287.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.03183, allocations: 211 kB / 287.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03183, allocations: 0 / 287.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.03221, allocations: 115.8 kB / 287.6 MB, free: 2.039 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.0001558/0.03236, allocations: 115.2 kB / 287.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.03294, allocations: 290.8 kB / 288 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03295, allocations: 448 / 288 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.03321, allocations: 187.7 kB / 288.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.03357, allocations: 52.62 kB / 288.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.03508, allocations: 0.7565 MB / 289 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.03515, allocations: 101.1 kB / 289.1 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.03526, allocations: 26.98 kB / 289.1 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.03532, allocations: 24.48 kB / 289.2 MB, free: 448 kB / 266.7 MB Notification: Performance of SimCode: time 2.064e-06/0.03532, allocations: 0 / 289.2 MB, free: 448 kB / 266.7 MB Notification: Performance of Templates: time 0.1152/0.1505, allocations: 5.236 MB / 294.4 MB, free: 28.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9723057658411562]