Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009416/0.0009416, allocations: 196.4 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.6 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000862/0.0008621, allocations: 97.44 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2333, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002241/0.2355, allocations: 2.685 MB / 410.7 MB, free: 25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2367, allocations: 0.8032 MB / 411.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.2369, allocations: 9.344 kB / 411.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.237, allocations: 43.62 kB / 411.6 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.2372, allocations: 96.44 kB / 411.7 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.2375, allocations: 113 kB / 411.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.2378, allocations: 497.8 kB / 412.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.238, allocations: 144 kB / 412.4 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.2383, allocations: 187.4 kB / 412.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.2385, allocations: 219.1 kB / 412.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.2385, allocations: 28 kB / 412.8 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.2386, allocations: 39.98 kB / 412.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.2387, allocations: 83.66 kB / 413 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2388, allocations: 224.7 kB / 413.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2391, allocations: 415.8 kB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2391, allocations: 0 / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2391, allocations: 0 / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2391, allocations: 0 / 413.6 MB, free: 22.14 MB / 298.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.001235/0.2404, allocations: 0.7487 MB / 414.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2404, allocations: 12.03 kB / 414.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.2406, allocations: 68.3 kB / 414.4 MB, free: 21.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.2409, allocations: 306.5 kB / 414.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2409, allocations: 29.38 kB / 414.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.241, allocations: 40.28 kB / 414.8 MB, free: 20.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.2419, allocations: 0.5322 MB / 415.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2419, allocations: 4 kB / 415.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.242, allocations: 16 kB / 415.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.242, allocations: 11.94 kB / 415.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2431, allocations: 0.566 MB / 415.9 MB, free: 19.7 MB / 298.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.00206/0.2452, allocations: 1.686 MB / 417.6 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.2462, allocations: 472.5 kB / 418.1 MB, free: 17.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.2467, allocations: 260.8 kB / 418.3 MB, free: 17.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.2467, allocations: 16.3 kB / 418.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2467, allocations: 34.89 kB / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.943e-06/0.2467, allocations: 0 / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004446/0.2512, allocations: 1.549 MB / 419.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2512, allocations: 166.2 kB / 420.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2515, allocations: 267 kB / 420.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.2515, allocations: 33.7 kB / 420.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.2517, allocations: 212.3 kB / 420.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.804e-05/0.2517, allocations: 134 kB / 420.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.2518, allocations: 8 kB / 420.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.2518, allocations: 342.8 kB / 421 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.2523, allocations: 212.7 kB / 421.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.2528, allocations: 298.5 kB / 421.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.2537, allocations: 470.5 kB / 422 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2537, allocations: 0 / 422 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001647/0.2554, allocations: 0.7794 MB / 422.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2554, allocations: 8 kB / 422.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2554, allocations: 3.984 kB / 422.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.2566, allocations: 333.4 kB / 423.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.2569, allocations: 91.88 kB / 423.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000914/0.2579, allocations: 1.358 MB / 424.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.2583, allocations: 95.67 kB / 424.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.2583, allocations: 16 kB / 424.7 MB, free: 10.52 MB / 298.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.0001566/0.2585, allocations: 161.7 kB / 424.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.2586, allocations: 31.62 kB / 424.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.2605, allocations: 0.8212 MB / 425.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.2605, allocations: 8.031 kB / 425.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2605, allocations: 4 kB / 425.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2605, allocations: 3.984 kB / 425.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.2609, allocations: 461 kB / 426.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.261, allocations: 0 / 426.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.2612, allocations: 72.14 kB / 426.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.2623, allocations: 340.4 kB / 426.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.2623, allocations: 15.94 kB / 426.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008871/0.2632, allocations: 1.378 MB / 427.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2633, allocations: 0 / 427.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.2655, allocations: 1.133 MB / 429.1 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.2656, allocations: 112.6 kB / 429.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.2656, allocations: 8 kB / 429.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.266, allocations: 64.02 kB / 429.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.2661, allocations: 23.95 kB / 429.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.2661, allocations: 11.94 kB / 429.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.2663, allocations: 193.9 kB / 429.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2663, allocations: 8 kB / 429.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.2667, allocations: 107.8 kB / 429.6 MB, free: 5.426 MB / 298.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.0001472/0.2668, allocations: 107.2 kB / 429.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.2679, allocations: 0.5118 MB / 430.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2679, allocations: 4.125 kB / 430.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.2685, allocations: 275.6 kB / 430.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.2689, allocations: 46.95 kB / 430.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2702, allocations: 1.106 MB / 431.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.2704, allocations: 0.7956 MB / 432.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.2705, allocations: 31.42 kB / 432.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2705, allocations: 0 / 432.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of Templates: time 0.007747/0.2782, allocations: 7.088 MB / 439.6 MB, free: 11.41 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches