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.002146/0.002146, allocations: 108.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00327/0.00327, allocations: 211.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.424/2.424, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3677, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006592/0.3744, allocations: 3.155 MB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3768, allocations: 0.8429 MB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.3772, allocations: 4 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.3776, allocations: 67.31 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.3781, allocations: 114.9 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.3788, allocations: 159.7 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009529/0.3798, allocations: 0.5463 MB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.3802, allocations: 168.3 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005407/0.3808, allocations: 231.2 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.3813, allocations: 259 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.3814, allocations: 52 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.3816, allocations: 59.98 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.3818, allocations: 107.7 kB / 415.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.3822, allocations: 246.8 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.383, allocations: 0.5579 MB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.383, allocations: 0 / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.383, allocations: 0 / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.383, allocations: 0 / 416.5 MB, free: 11.02 MB / 334.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.002319/0.3854, allocations: 0.7954 MB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3854, allocations: 8.031 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.3857, allocations: 60.36 kB / 417.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.3865, allocations: 323.3 kB / 417.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.3865, allocations: 25.38 kB / 417.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.3866, allocations: 32.38 kB / 417.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.3881, allocations: 0.5048 MB / 418.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3882, allocations: 0 / 418.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.3882, allocations: 16 kB / 418.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3882, allocations: 15.88 kB / 418.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.3901, allocations: 0.4996 MB / 418.7 MB, free: 8.633 MB / 334.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.003566/0.3937, allocations: 1.663 MB / 420.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.3952, allocations: 423.7 kB / 420.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.3959, allocations: 244.6 kB / 421.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.396, allocations: 16.3 kB / 421.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.396, allocations: 38.83 kB / 421.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.916e-06/0.3961, allocations: 0 / 421.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.006282/0.4023, allocations: 1.361 MB / 422.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.4025, allocations: 162.2 kB / 422.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.403, allocations: 274.9 kB / 422.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.4031, allocations: 37.69 kB / 422.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.4033, allocations: 208.3 kB / 423.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4034, allocations: 134 kB / 423.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.4036, allocations: 74.12 kB / 423.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4038, allocations: 350.8 kB / 423.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.4045, allocations: 176.8 kB / 423.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.4053, allocations: 286.5 kB / 424.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4067, allocations: 430.5 kB / 424.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4067, allocations: 0 / 424.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002531/0.4093, allocations: 0.6819 MB / 425.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.4093, allocations: 4 kB / 425.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4093, allocations: 4 kB / 425.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.4111, allocations: 317.4 kB / 425.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.4115, allocations: 83.88 kB / 425.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.4133, allocations: 1.347 MB / 427 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.414, allocations: 75.53 kB / 427.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.4141, allocations: 19.98 kB / 427.1 MB, free: 15.87 MB / 350.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 (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.0002862/0.4144, allocations: 161.8 kB / 427.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4145, allocations: 35.66 kB / 427.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.4173, allocations: 0.7201 MB / 428 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4174, allocations: 8 kB / 428 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.4174, allocations: 3.984 kB / 428 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.4174, allocations: 4 kB / 428 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.4183, allocations: 460.9 kB / 428.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4183, allocations: 4 kB / 428.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.4187, allocations: 63.88 kB / 428.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.4203, allocations: 325.4 kB / 428.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.4204, allocations: 4 kB / 428.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.4221, allocations: 1.362 MB / 430.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4221, allocations: 4.031 kB / 430.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.4256, allocations: 1.019 MB / 431.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.4258, allocations: 108.6 kB / 431.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4259, allocations: 16 kB / 431.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.4264, allocations: 44 kB / 431.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4266, allocations: 27.75 kB / 431.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.4266, allocations: 15.98 kB / 431.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003619/0.427, allocations: 190 kB / 431.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.427, allocations: 0 / 431.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006183/0.4276, allocations: 111.8 kB / 431.7 MB, free: 11.04 MB / 350.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 (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.0002624/0.4279, allocations: 128.4 kB / 431.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4297, allocations: 471.4 kB / 432.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.4297, allocations: 4 kB / 432.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008518/0.4306, allocations: 256.2 kB / 432.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.4312, allocations: 44.58 kB / 432.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4333, allocations: 0.895 MB / 433.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.4337, allocations: 0.7956 MB / 434.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.4338, allocations: 27.44 kB / 434.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of SimCode: time 1.983e-06/0.4338, allocations: 0 / 434.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Templates: time 0.01277/0.4466, allocations: 7.27 MB / 441.6 MB, free: 1.102 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches