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.001283/0.001283, allocations: 174.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0009281/0.0009283, allocations: 96.72 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002941/0.2384, allocations: 2.644 MB / 377.7 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2398, allocations: 0.7921 MB / 378.5 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.24, allocations: 5.375 kB / 378.5 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2401, allocations: 41.53 kB / 378.6 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.2403, allocations: 99.44 kB / 378.7 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.2406, allocations: 100.6 kB / 378.8 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.2411, allocations: 496.6 kB / 379.2 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.2414, allocations: 144.9 kB / 379.4 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.2416, allocations: 176.9 kB / 379.6 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2419, allocations: 220.2 kB / 379.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.242, allocations: 27.94 kB / 379.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2421, allocations: 36.55 kB / 379.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2421, allocations: 80.59 kB / 379.9 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.2423, allocations: 227.4 kB / 380.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.2427, allocations: 399.8 kB / 380.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.2427, allocations: 1.219 kB / 380.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2427, allocations: 7.875 kB / 380.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2427, allocations: 0 / 380.5 MB, free: 41.28 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.00146/0.2442, allocations: 0.7599 MB / 381.3 MB, free: 40.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2442, allocations: 8.875 kB / 381.3 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2443, allocations: 49.5 kB / 381.4 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.2447, allocations: 300.6 kB / 381.6 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2447, allocations: 28.19 kB / 381.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.2448, allocations: 36.72 kB / 381.7 MB, free: 40.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.2459, allocations: 0.5358 MB / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.246, allocations: 0 / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.246, allocations: 16.72 kB / 382.3 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.246, allocations: 12.09 kB / 382.3 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.2475, allocations: 0.5617 MB / 382.8 MB, free: 39.75 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.002697/0.2502, allocations: 1.694 MB / 384.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2514, allocations: 464.9 kB / 385 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/0.2519, allocations: 267.7 kB / 385.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.252, allocations: 5.828 kB / 385.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.252, allocations: 37.02 kB / 385.3 MB, free: 37.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.417e-06/0.252, allocations: 0 / 385.3 MB, free: 37.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004769/0.2568, allocations: 1.553 MB / 386.8 MB, free: 36.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.2569, allocations: 158.2 kB / 387 MB, free: 36.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2573, allocations: 270.9 kB / 387.3 MB, free: 36.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.2573, allocations: 33.7 kB / 387.3 MB, free: 36.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.2574, allocations: 208.3 kB / 387.5 MB, free: 35.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.2575, allocations: 138 kB / 387.6 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.2575, allocations: 8 kB / 387.6 MB, free: 35.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.2576, allocations: 346.7 kB / 388 MB, free: 35.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.2581, allocations: 204.8 kB / 388.2 MB, free: 35.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2586, allocations: 298.5 kB / 388.5 MB, free: 34.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.2595, allocations: 478.5 kB / 388.9 MB, free: 34.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2595, allocations: 0 / 388.9 MB, free: 34.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001741/0.2612, allocations: 0.7717 MB / 389.7 MB, free: 33.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.2613, allocations: 11.94 kB / 389.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.2613, allocations: 0 / 389.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.2625, allocations: 333.5 kB / 390 MB, free: 33.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.2629, allocations: 87.88 kB / 390.1 MB, free: 33.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.2639, allocations: 1.366 MB / 391.5 MB, free: 31.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.2644, allocations: 95.67 kB / 391.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.2645, allocations: 12 kB / 391.6 MB, free: 31.67 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.0002017/0.2647, allocations: 161.8 kB / 391.8 MB, free: 31.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.2648, allocations: 35.53 kB / 391.8 MB, free: 31.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.2667, allocations: 0.8174 MB / 392.6 MB, free: 30.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2668, allocations: 4 kB / 392.6 MB, free: 30.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2668, allocations: 0 / 392.6 MB, free: 30.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2668, allocations: 0 / 392.6 MB, free: 30.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.2673, allocations: 469 kB / 393.1 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2673, allocations: 0 / 393.1 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2676, allocations: 63.95 kB / 393.1 MB, free: 30.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.2687, allocations: 345.3 kB / 393.5 MB, free: 29.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.2688, allocations: 8 kB / 393.5 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009702/0.2697, allocations: 1.386 MB / 394.9 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2698, allocations: 0 / 394.9 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.2721, allocations: 1.125 MB / 396 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.2722, allocations: 112.6 kB / 396.1 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.2723, allocations: 19.92 kB / 396.1 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.2727, allocations: 56.02 kB / 396.2 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.2728, allocations: 31.98 kB / 396.2 MB, free: 26.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.2728, allocations: 12 kB / 396.2 MB, free: 26.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.273, allocations: 186 kB / 396.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.273, allocations: 0 / 396.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.2734, allocations: 107.8 kB / 396.5 MB, free: 26.59 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.0001692/0.2736, allocations: 123.5 kB / 396.6 MB, free: 26.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2748, allocations: 0.5032 MB / 397.1 MB, free: 25.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2748, allocations: 4 kB / 397.1 MB, free: 25.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.2754, allocations: 280 kB / 397.4 MB, free: 25.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.2759, allocations: 44.48 kB / 397.4 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2775, allocations: 1.09 MB / 398.5 MB, free: 24.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2777, allocations: 0.7998 MB / 399.3 MB, free: 23.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.2778, allocations: 27.44 kB / 399.4 MB, free: 23.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2778, allocations: 0 / 399.4 MB, free: 23.66 MB / 298.7 MB Notification: Performance of Templates: time 0.007546/0.2854, allocations: 7.027 MB / 406.4 MB, free: 16.64 MB / 298.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/jenkins/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