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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 95.22 kB / 16.3 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.9 kB / 17.2 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004072, allocations: 8 kB / 300.7 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1608, allocations: 50.41 MB / 351.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003608/0.1645, allocations: 2.516 MB / 353.7 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1663, allocations: 0.7851 MB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.1666, allocations: 4 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.1667, allocations: 39.69 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.167, allocations: 119.6 kB / 354.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1674, allocations: 107.9 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.1678, allocations: 352.8 kB / 355 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1681, allocations: 131.5 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1683, allocations: 179.5 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.1686, allocations: 235 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.1686, allocations: 28 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.1687, allocations: 28 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1688, allocations: 75.73 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.1689, allocations: 101.5 kB / 355.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1693, allocations: 407.1 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1693, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1693, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1693, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 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.001474/0.1708, allocations: 0.7641 MB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1709, allocations: 8.031 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.171, allocations: 51.39 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.1714, allocations: 297.4 kB / 357.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.1714, allocations: 29 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.1715, allocations: 43.84 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1726, allocations: 0.524 MB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1726, allocations: 0 / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.1727, allocations: 16 kB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1727, allocations: 8 kB / 357.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.174, allocations: 0.5621 MB / 358.5 MB, free: 12.5 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.1766, allocations: 1.702 MB / 360.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1778, allocations: 459.7 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.1778, allocations: 12.31 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.1779, allocations: 38.83 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.415e-06/0.1779, allocations: 4 kB / 360.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004876/0.1828, allocations: 1.534 MB / 362.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1829, allocations: 166.1 kB / 362.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.1833, allocations: 267 kB / 362.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.1833, allocations: 29.7 kB / 362.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1835, allocations: 208.3 kB / 362.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1837, allocations: 142 kB / 363 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.1837, allocations: 12 kB / 363 MB, free: 7.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1839, allocations: 350.8 kB / 363.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.1844, allocations: 200.8 kB / 363.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.185, allocations: 306.5 kB / 363.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.1855, allocations: 223.8 kB / 364.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1855, allocations: 0 / 364.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001956/0.1875, allocations: 0.7639 MB / 364.9 MB, free: 5.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1875, allocations: 8 kB / 364.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1876, allocations: 0 / 364.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.1889, allocations: 337.4 kB / 365.2 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.1892, allocations: 91.81 kB / 365.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.1905, allocations: 1.362 MB / 366.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.191, allocations: 99.77 kB / 366.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.191, allocations: 12 kB / 366.8 MB, free: 3.852 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.1913, allocations: 162.6 kB / 366.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.1914, allocations: 35.58 kB / 367 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.1935, allocations: 0.8173 MB / 367.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1936, allocations: 8 kB / 367.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1936, allocations: 3.938 kB / 367.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1936, allocations: 0 / 367.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.1942, allocations: 469 kB / 368.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1942, allocations: 0 / 368.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.1945, allocations: 67.89 kB / 368.3 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.1957, allocations: 337.4 kB / 368.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.1958, allocations: 8 kB / 368.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.197, allocations: 1.386 MB / 370 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1971, allocations: 0 / 370 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2311/0.4282, allocations: 1.115 MB / 371.2 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4283, allocations: 113.7 kB / 371.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.4284, allocations: 8.578 kB / 371.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.4288, allocations: 61.92 kB / 371.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.4289, allocations: 27.44 kB / 371.4 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.429, allocations: 12.55 kB / 371.4 MB, free: 25.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.4292, allocations: 189.8 kB / 371.6 MB, free: 25.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4292, allocations: 0.6562 kB / 371.6 MB, free: 25.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000438/0.4297, allocations: 114.3 kB / 371.7 MB, free: 25.18 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.4298, allocations: 111.7 kB / 371.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.4312, allocations: 0.5176 MB / 372.3 MB, free: 25.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4312, allocations: 3.5 kB / 372.3 MB, free: 25.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.4319, allocations: 275.7 kB / 372.6 MB, free: 25.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4323, allocations: 43.75 kB / 372.6 MB, free: 25.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.4346, allocations: 1.064 MB / 373.7 MB, free: 24.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.4351, allocations: 0.8098 MB / 374.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.4353, allocations: 35.27 kB / 374.5 MB, free: 23.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.4354, allocations: 24.75 kB / 374.5 MB, free: 23.86 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4354, allocations: 0 / 374.5 MB, free: 23.86 MB / 302.1 MB Notification: Performance of Templates: time 0.0132/0.4486, allocations: 5.22 MB / 379.8 MB, free: 23.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches