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.001023/0.001023, allocations: 72.08 kB / 21.69 MB, free: 2.852 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.000938/0.000938, allocations: 146 kB / 24.97 MB, free: 9.348 MB / 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.9813/0.9813, allocations: 173.4 MB / 201.5 MB, free: 9.348 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.783e-06/1.783e-06, allocations: 0 / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.579e-05, allocations: 2.312 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004388/0.004413, allocations: 3.116 MB / 271.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.006031, allocations: 0.7921 MB / 272 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.006218, allocations: 7.938 kB / 272 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.006417, allocations: 55.38 kB / 272.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.00663, allocations: 126.8 kB / 272.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.007088, allocations: 159.6 kB / 272.3 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.0077, allocations: 0.5616 MB / 272.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.007983, allocations: 116.8 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.00857, allocations: 323.3 kB / 273.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.008911, allocations: 199.4 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.009033, allocations: 55.98 kB / 273.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.009161, allocations: 56 kB / 273.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.009259, allocations: 111.6 kB / 273.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.009445, allocations: 171.6 kB / 273.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.01, allocations: 386.7 kB / 274.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01, allocations: 0 / 274.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01001, allocations: 0 / 274.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.01002, allocations: 0 / 274.3 MB, free: 0.4961 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.0014/0.01142, allocations: 0.7923 MB / 275.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.01147, allocations: 12.92 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.01163, allocations: 80.59 kB / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.01206, allocations: 259.3 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.0121, allocations: 25.38 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.01217, allocations: 36.38 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.01305, allocations: 0.5569 MB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.01307, allocations: 192 / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.01312, allocations: 16.38 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.01314, allocations: 15.94 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.0137, allocations: 213.8 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.01592, allocations: 1.139 MB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.01668, allocations: 287.2 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.01694, allocations: 123.3 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.01698, allocations: 12.31 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.01702, allocations: 41.72 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.01702, allocations: 0 / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.003148/0.02017, allocations: 0.8609 MB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.02024, allocations: 162.2 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.02052, allocations: 310.2 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.02055, allocations: 29.7 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.0207, allocations: 263.4 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.02081, allocations: 142.7 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.02095, allocations: 87.84 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.0211, allocations: 0.5118 MB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.02131, allocations: 80.94 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.02164, allocations: 312 kB / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.02211, allocations: 265.3 kB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02211, allocations: 0 / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001103/0.02321, allocations: 472.3 kB / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.02324, allocations: 8 kB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.02324, allocations: 0 / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.02393, allocations: 255.1 kB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.0241, allocations: 75.83 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007663/0.02486, allocations: 1.748 MB / 283.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.02504, allocations: 51.72 kB / 283.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.02506, allocations: 23.92 kB / 283.5 MB, free: 6.789 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.0001206/0.02518, allocations: 180.5 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.02524, allocations: 47.88 kB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.02605, allocations: 498.8 kB / 284.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.02606, allocations: 4 kB / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02606, allocations: 0 / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.02607, allocations: 0 / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.02635, allocations: 308.3 kB / 284.5 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.02636, allocations: 3.984 kB / 284.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.0265, allocations: 51.91 kB / 284.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/0.02705, allocations: 259 kB / 284.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.02708, allocations: 8 kB / 284.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007712/0.02785, allocations: 1.76 MB / 286.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02785, allocations: 0 / 286.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.02889, allocations: 0.7091 MB / 287.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.02893, allocations: 39.64 kB / 287.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.02896, allocations: 12.03 kB / 287.3 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.0291, allocations: 23.98 kB / 287.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.02916, allocations: 23.94 kB / 287.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.02917, allocations: 16 kB / 287.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.0293, allocations: 207 kB / 287.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0293, allocations: 0 / 287.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.0296, allocations: 115.8 kB / 287.7 MB, free: 2.395 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.0001819/0.02978, allocations: 111.2 kB / 287.8 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.03027, allocations: 298.8 kB / 288.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03027, allocations: 0 / 288.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.03048, allocations: 171.8 kB / 288.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.03075, allocations: 61.09 kB / 288.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.03201, allocations: 0.7526 MB / 289.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.417e-05/0.03208, allocations: 105.1 kB / 289.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.03219, allocations: 26.98 kB / 289.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.03225, allocations: 28.48 kB / 289.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.03225, allocations: 3.938 kB / 289.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of Templates: time 0.09589/0.1281, allocations: 4.999 MB / 294.2 MB, free: 32.82 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.948844752041623]