Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 199.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008503, allocations: 107.7 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 4 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2823, allocations: 51.42 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002349/0.2847, allocations: 2.693 MB / 414.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2858, allocations: 1.112 MB / 415.9 MB, free: 22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.2859, allocations: 15.75 kB / 415.9 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.2861, allocations: 39.62 kB / 415.9 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.2862, allocations: 95.22 kB / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2865, allocations: 135.8 kB / 416.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.2868, allocations: 0.5126 MB / 416.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2871, allocations: 144.8 kB / 416.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.2873, allocations: 191.2 kB / 417 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.2875, allocations: 227 kB / 417.2 MB, free: 20.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.2875, allocations: 24 kB / 417.2 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.2876, allocations: 39.98 kB / 417.3 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.2877, allocations: 87.61 kB / 417.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2878, allocations: 236.6 kB / 417.6 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.2882, allocations: 0.5152 MB / 418.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2882, allocations: 0 / 418.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2882, allocations: 4 kB / 418.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2882, allocations: 3.938 kB / 418.1 MB, free: 19.74 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.001205/0.2894, allocations: 0.7526 MB / 418.8 MB, free: 18.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2894, allocations: 8.031 kB / 418.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.2896, allocations: 60.36 kB / 418.9 MB, free: 18.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.2899, allocations: 306.5 kB / 419.2 MB, free: 18.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2899, allocations: 29.38 kB / 419.2 MB, free: 18.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.29, allocations: 40.28 kB / 419.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.2909, allocations: 0.536 MB / 419.8 MB, free: 17.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2909, allocations: 4 kB / 419.8 MB, free: 17.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.2909, allocations: 16 kB / 419.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2909, allocations: 8 kB / 419.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.2921, allocations: 0.5621 MB / 420.4 MB, free: 17.31 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.001969/0.2941, allocations: 1.698 MB / 422.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.2951, allocations: 467.5 kB / 422.6 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.2955, allocations: 265.4 kB / 422.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.2956, allocations: 12.3 kB / 422.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.2956, allocations: 42.83 kB / 422.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.2956, allocations: 0 / 422.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004417/0.3, allocations: 1.541 MB / 424.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3001, allocations: 162.2 kB / 424.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.3004, allocations: 271 kB / 424.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3004, allocations: 33.7 kB / 424.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.3005, allocations: 212.3 kB / 425.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.3006, allocations: 134 kB / 425.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.3006, allocations: 8 kB / 425.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3007, allocations: 346.8 kB / 425.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.3011, allocations: 208.8 kB / 425.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.3016, allocations: 302.4 kB / 426.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/0.3024, allocations: 474.5 kB / 426.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3025, allocations: 0 / 426.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001655/0.3041, allocations: 0.7794 MB / 427.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.3042, allocations: 9.25 kB / 427.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3042, allocations: 0 / 427.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.3054, allocations: 333.4 kB / 427.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.3057, allocations: 87.88 kB / 427.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009333/0.3067, allocations: 1.362 MB / 429.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.3071, allocations: 95.67 kB / 429.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.3072, allocations: 16 kB / 429.2 MB, free: 8.117 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.0001692/0.3073, allocations: 161.7 kB / 429.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3074, allocations: 31.62 kB / 429.4 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.3093, allocations: 0.8212 MB / 430.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3093, allocations: 4 kB / 430.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3093, allocations: 0 / 430.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3093, allocations: 7.984 kB / 430.2 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3097, allocations: 461 kB / 430.7 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3098, allocations: 4 kB / 430.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.31, allocations: 67.89 kB / 430.7 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.3111, allocations: 333.6 kB / 431.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.3111, allocations: 12 kB / 431.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008828/0.312, allocations: 1.382 MB / 432.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.312, allocations: 0 / 432.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.3143, allocations: 1.129 MB / 433.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.3144, allocations: 112.6 kB / 433.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.3144, allocations: 8 kB / 433.7 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.3148, allocations: 60.02 kB / 433.8 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.3149, allocations: 27.95 kB / 433.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3149, allocations: 8 kB / 433.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3151, allocations: 193.9 kB / 434 MB, free: 3.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3151, allocations: 4 kB / 434 MB, free: 3.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.3155, allocations: 111.8 kB / 434.1 MB, free: 3.039 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.0001854/0.3157, allocations: 123.1 kB / 434.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3168, allocations: 0.512 MB / 434.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3168, allocations: 4 kB / 434.7 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.3174, allocations: 283.5 kB / 435 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.3178, allocations: 36.77 kB / 435 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3193, allocations: 1.119 MB / 436.2 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.3195, allocations: 0.7956 MB / 437 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3196, allocations: 34.95 kB / 437 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.3197, allocations: 19.44 kB / 437 MB, free: 68 kB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3197, allocations: 0 / 437 MB, free: 68 kB / 298.7 MB Notification: Performance of Templates: time 0.00977/0.3295, allocations: 5.413 MB / 442.4 MB, free: 10.68 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches