Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007364/0.0007365, allocations: 80.09 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 16 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2446, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002848/0.2475, allocations: 2.646 MB / 379.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.249, allocations: 0.867 MB / 380.1 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.2494, allocations: 6.469 kB / 380.1 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.2496, allocations: 48.27 kB / 380.2 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.2499, allocations: 91.81 kB / 380.3 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.2502, allocations: 124.2 kB / 380.4 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.2508, allocations: 0.5082 MB / 380.9 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.2511, allocations: 141.3 kB / 381 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.2514, allocations: 188.2 kB / 381.2 MB, free: 42.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.2517, allocations: 224.7 kB / 381.4 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.432e-05/0.2518, allocations: 28.22 kB / 381.5 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.252, allocations: 32.02 kB / 381.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.2521, allocations: 88 kB / 381.6 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.2523, allocations: 231.2 kB / 381.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.2527, allocations: 0.5133 MB / 382.3 MB, free: 41.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2527, allocations: 1.344 kB / 382.3 MB, free: 41.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2527, allocations: 0 / 382.3 MB, free: 41.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.2528, allocations: 4 kB / 382.3 MB, free: 41.25 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.00142/0.2542, allocations: 0.7523 MB / 383.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2542, allocations: 8.75 kB / 383.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2544, allocations: 52.19 kB / 383.1 MB, free: 40.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.2547, allocations: 304.7 kB / 383.4 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.2548, allocations: 29.16 kB / 383.5 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.2548, allocations: 36.22 kB / 383.5 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2559, allocations: 0.5289 MB / 384 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2559, allocations: 3.938 kB / 384 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.256, allocations: 15.44 kB / 384 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.256, allocations: 9.594 kB / 384.1 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.2574, allocations: 0.5606 MB / 384.6 MB, free: 39.73 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.002713/0.2601, allocations: 1.702 MB / 386.3 MB, free: 38.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.2613, allocations: 462.5 kB / 386.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/0.2618, allocations: 265.4 kB / 387 MB, free: 37.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2618, allocations: 8.312 kB / 387 MB, free: 37.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2618, allocations: 46.83 kB / 387.1 MB, free: 37.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.895e-06/0.2619, allocations: 0 / 387.1 MB, free: 37.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004498/0.2664, allocations: 1.548 MB / 388.6 MB, free: 36.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2664, allocations: 158.2 kB / 388.8 MB, free: 35.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.2667, allocations: 266.9 kB / 389 MB, free: 35.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.2668, allocations: 33.7 kB / 389.1 MB, free: 35.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.2669, allocations: 208.3 kB / 389.3 MB, free: 35.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.2669, allocations: 138 kB / 389.4 MB, free: 35.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.267, allocations: 12 kB / 389.4 MB, free: 35.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.267, allocations: 342.8 kB / 389.8 MB, free: 34.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.2675, allocations: 200.8 kB / 390 MB, free: 34.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.268, allocations: 306.5 kB / 390.3 MB, free: 34.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.2688, allocations: 474.5 kB / 390.7 MB, free: 33.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2688, allocations: 0 / 390.7 MB, free: 33.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001666/0.2705, allocations: 0.764 MB / 391.5 MB, free: 33.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2705, allocations: 14.75 kB / 391.5 MB, free: 33.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2705, allocations: 0 / 391.5 MB, free: 33.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.2717, allocations: 345.4 kB / 391.8 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.2721, allocations: 83.88 kB / 391.9 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009193/0.273, allocations: 1.366 MB / 393.3 MB, free: 31.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.2735, allocations: 87.72 kB / 393.4 MB, free: 31.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.2735, allocations: 16 kB / 393.4 MB, free: 31.17 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 (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.0001577/0.2737, allocations: 157.8 kB / 393.5 MB, free: 31.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.2737, allocations: 39.52 kB / 393.6 MB, free: 30.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.2756, allocations: 0.8174 MB / 394.4 MB, free: 30.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2756, allocations: 7.938 kB / 394.4 MB, free: 30.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2756, allocations: 8 kB / 394.4 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2757, allocations: 3.984 kB / 394.4 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.2761, allocations: 457.1 kB / 394.9 MB, free: 29.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2761, allocations: 0 / 394.9 MB, free: 29.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.2764, allocations: 64 kB / 394.9 MB, free: 29.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.2774, allocations: 345.4 kB / 395.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.2775, allocations: 8 kB / 395.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008686/0.2784, allocations: 1.378 MB / 396.6 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2784, allocations: 0 / 396.6 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.2806, allocations: 1.125 MB / 397.8 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.2807, allocations: 108.6 kB / 397.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.2808, allocations: 15.98 kB / 397.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.2811, allocations: 56.02 kB / 397.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.2812, allocations: 31.89 kB / 398 MB, free: 26.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.2812, allocations: 16 kB / 398 MB, free: 26.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.2814, allocations: 186 kB / 398.2 MB, free: 26.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2814, allocations: 0 / 398.2 MB, free: 26.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.2818, allocations: 107.9 kB / 398.3 MB, free: 26.1 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 (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.0001322/0.2819, allocations: 135.1 kB / 398.4 MB, free: 25.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.283, allocations: 0.5116 MB / 398.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.283, allocations: 0 / 398.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.2836, allocations: 272.1 kB / 399.2 MB, free: 25.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.284, allocations: 48.55 kB / 399.2 MB, free: 25.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2854, allocations: 1.097 MB / 400.3 MB, free: 24.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.2856, allocations: 0.7997 MB / 401.1 MB, free: 23.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.2857, allocations: 34.97 kB / 401.2 MB, free: 23.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.2858, allocations: 23.44 kB / 401.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2858, allocations: 0 / 401.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of Templates: time 0.008435/0.2943, allocations: 5.401 MB / 406.6 MB, free: 17.73 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches