Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 101.1 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002696, allocations: 4 kB / 306.6 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003532/0.1291, allocations: 2.545 MB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1306, allocations: 0.8163 MB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1308, allocations: 7.938 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.89e-05/0.1309, allocations: 39.69 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1311, allocations: 115.7 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1315, allocations: 115.7 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.1319, allocations: 360.8 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.1322, allocations: 131.6 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.1325, allocations: 187.4 kB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1328, allocations: 219.1 kB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.1328, allocations: 28 kB / 362.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1329, allocations: 32 kB / 362.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.133, allocations: 83.7 kB / 362.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.258e-05/0.1331, allocations: 105.5 kB / 362.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.1335, allocations: 411 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1335, allocations: 0 / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1335, allocations: 0 / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1336, allocations: 0 / 363.2 MB, free: 8.945 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.001573/0.1351, allocations: 0.7603 MB / 364 MB, free: 8.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1352, allocations: 12.03 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.1354, allocations: 59.42 kB / 364.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1358, allocations: 301.4 kB / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1359, allocations: 25 kB / 364.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.136, allocations: 47.78 kB / 364.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1371, allocations: 0.5279 MB / 364.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1371, allocations: 0 / 364.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.1371, allocations: 16 kB / 365 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1372, allocations: 8 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.1385, allocations: 0.5621 MB / 365.5 MB, free: 6.52 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.002707/0.1412, allocations: 1.702 MB / 367.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1424, allocations: 463.5 kB / 367.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1424, allocations: 12.31 kB / 367.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.1425, allocations: 42.83 kB / 367.7 MB, free: 4.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.834e-06/0.1425, allocations: 4 kB / 367.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005273/0.1478, allocations: 1.53 MB / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.1479, allocations: 162.2 kB / 369.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.1483, allocations: 263 kB / 369.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1484, allocations: 29.7 kB / 369.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.1487, allocations: 216.3 kB / 369.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1488, allocations: 134 kB / 370.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.1488, allocations: 15.94 kB / 370.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.1491, allocations: 342.8 kB / 370.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.1496, allocations: 204.7 kB / 370.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.1503, allocations: 298.5 kB / 370.9 MB, free: 0.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.1508, allocations: 215.8 kB / 371.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.1508, allocations: 4 kB / 371.1 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.2225/0.3733, allocations: 0.7652 MB / 371.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.3734, allocations: 6.484 kB / 371.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.3735, allocations: 2.125 kB / 371.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.3757, allocations: 333.9 kB / 372.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.3763, allocations: 89.59 kB / 372.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.378, allocations: 1.364 MB / 373.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.3789, allocations: 96.38 kB / 373.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.3789, allocations: 16.22 kB / 373.8 MB, free: 18.45 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.000277/0.3792, allocations: 155.6 kB / 373.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3793, allocations: 40.38 kB / 374 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.383, allocations: 0.8193 MB / 374.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.383, allocations: 5.156 kB / 374.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.383, allocations: 1.156 kB / 374.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.3831, allocations: 2.344 kB / 374.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3842, allocations: 467.5 kB / 375.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3842, allocations: 1.359 kB / 375.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.3847, allocations: 69.45 kB / 375.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.3867, allocations: 337.2 kB / 375.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.3868, allocations: 9.391 kB / 375.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.3888, allocations: 1.386 MB / 377 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3888, allocations: 0.5156 kB / 377 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.3931, allocations: 1.126 MB / 378.2 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3932, allocations: 109 kB / 378.3 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.3933, allocations: 10.69 kB / 378.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.3939, allocations: 64.16 kB / 378.4 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3941, allocations: 28.3 kB / 378.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.3941, allocations: 10.36 kB / 378.4 MB, free: 16.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000408/0.3945, allocations: 196 kB / 378.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.3946, allocations: 0 / 378.6 MB, free: 16.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.3953, allocations: 109.9 kB / 378.7 MB, free: 16.47 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.0002381/0.3956, allocations: 103.4 kB / 378.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.3977, allocations: 0.5185 MB / 379.3 MB, free: 16.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3977, allocations: 1.094 kB / 379.3 MB, free: 16.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3988, allocations: 275.8 kB / 379.6 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.3993, allocations: 45.16 kB / 379.6 MB, free: 16.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.4021, allocations: 1.075 MB / 380.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4025, allocations: 0.8054 MB / 381.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.4028, allocations: 35.47 kB / 381.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.4029, allocations: 22.59 kB / 381.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4029, allocations: 0 / 381.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01524/0.4181, allocations: 5.21 MB / 386.8 MB, free: 13.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches