Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.00245, allocations: 186.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.216/4.216, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001776, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.0006115, allocations: 12 kB / 327 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2162, allocations: 47.58 MB / 374.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006473/0.2228, allocations: 2.49 MB / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.226, allocations: 0.8167 MB / 377.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.2266, allocations: 4 kB / 377.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.2268, allocations: 39.69 kB / 377.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006525/0.2275, allocations: 127.6 kB / 378 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.2283, allocations: 103.8 kB / 378.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.2295, allocations: 340.8 kB / 378.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.2301, allocations: 131.6 kB / 378.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.2308, allocations: 183.4 kB / 378.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.2314, allocations: 219.1 kB / 379 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2316, allocations: 28 kB / 379 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.2318, allocations: 28 kB / 379 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.232, allocations: 83.66 kB / 379.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2322, allocations: 101.5 kB / 379.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009242/0.2331, allocations: 403.1 kB / 379.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2332, allocations: 4 kB / 379.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2332, allocations: 0 / 379.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.2333, allocations: 0 / 379.6 MB, free: 10.35 MB / 282.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.003418/0.2367, allocations: 0.7601 MB / 380.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.136e-05/0.2368, allocations: 12.03 kB / 380.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.2371, allocations: 47.44 kB / 380.4 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.238, allocations: 293.4 kB / 380.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.2381, allocations: 28.95 kB / 380.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.2383, allocations: 36 kB / 380.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.2413, allocations: 0.5318 MB / 381.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.2414, allocations: 0 / 381.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.2415, allocations: 16 kB / 381.3 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.2416, allocations: 8 kB / 381.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/0.2455, allocations: 0.5582 MB / 381.9 MB, free: 7.957 MB / 282.7 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.006937/0.2525, allocations: 1.698 MB / 383.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.2556, allocations: 463.7 kB / 384 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.2557, allocations: 8.312 kB / 384 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.2558, allocations: 46.83 kB / 384.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 5.54e-06/0.2559, allocations: 0 / 384.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.01544/0.2713, allocations: 1.537 MB / 385.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.2715, allocations: 158.2 kB / 385.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.2723, allocations: 267 kB / 386 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.2725, allocations: 37.7 kB / 386.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.2727, allocations: 262.7 kB / 386.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.273, allocations: 138 kB / 386.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.2731, allocations: 4 kB / 386.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2733, allocations: 326.8 kB / 386.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.2749, allocations: 204.7 kB / 387 MB, free: 2.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.2767, allocations: 302.5 kB / 387.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.2785, allocations: 227.8 kB / 387.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.2786, allocations: 0 / 387.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005612/0.2842, allocations: 0.7486 MB / 388.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.2843, allocations: 4 kB / 388.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.2844, allocations: 4 kB / 388.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/0.288, allocations: 345.4 kB / 388.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.2891, allocations: 83.88 kB / 388.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3852/0.6744, allocations: 1.354 MB / 390 MB, free: 20.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6759, allocations: 97.47 kB / 390.1 MB, free: 20.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.676, allocations: 15.48 kB / 390.1 MB, free: 20.27 MB / 282.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 (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.0004911/0.6766, allocations: 161.4 kB / 390.3 MB, free: 20.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.6768, allocations: 33.42 kB / 390.3 MB, free: 20.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006459/0.6833, allocations: 0.8155 MB / 391.2 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.6834, allocations: 5.5 kB / 391.2 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.6834, allocations: 3.438 kB / 391.2 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.6834, allocations: 1.969 kB / 391.2 MB, free: 20.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.685, allocations: 463.7 kB / 391.6 MB, free: 19.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.6851, allocations: 3.609 kB / 391.6 MB, free: 19.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009226/0.686, allocations: 67.52 kB / 391.7 MB, free: 19.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.6894, allocations: 340.8 kB / 392 MB, free: 19.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.6897, allocations: 13.14 kB / 392 MB, free: 19.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/0.6926, allocations: 1.374 MB / 393.4 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/0.6927, allocations: 0.6094 kB / 393.4 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007595/0.7003, allocations: 1.126 MB / 394.5 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.7006, allocations: 113.5 kB / 394.6 MB, free: 18.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.7008, allocations: 11.89 kB / 394.7 MB, free: 18.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.7019, allocations: 65.34 kB / 394.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.7021, allocations: 23.48 kB / 394.7 MB, free: 18.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.7022, allocations: 12.72 kB / 394.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005929/0.7028, allocations: 187.3 kB / 394.9 MB, free: 18.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.7028, allocations: 4 kB / 394.9 MB, free: 18.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001106/0.7039, allocations: 109.3 kB / 395 MB, free: 18.19 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 (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.000314/0.7043, allocations: 108 kB / 395.2 MB, free: 18.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.7081, allocations: 0.5202 MB / 395.7 MB, free: 17.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.7082, allocations: 5.031 kB / 395.7 MB, free: 17.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.7101, allocations: 271 kB / 395.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.7111, allocations: 45.08 kB / 396 MB, free: 17.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.7154, allocations: 1.091 MB / 397.1 MB, free: 17.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.716, allocations: 0.8019 MB / 397.9 MB, free: 16.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.7163, allocations: 29.36 kB / 397.9 MB, free: 16.51 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7164, allocations: 0 / 397.9 MB, free: 16.51 MB / 282.7 MB Notification: Performance of Templates: time 0.02512/0.7415, allocations: 6.805 MB / 404.7 MB, free: 14.39 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches