Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008315/0.0008316, allocations: 182.6 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 225.7 MB / 243.2 MB, free: 10.26 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007235/0.0007235, allocations: 95.27 kB / 294.4 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.0002267, allocations: 8 kB / 354.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1963, allocations: 50.42 MB / 404.6 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002265/0.1986, allocations: 2.678 MB / 407.3 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1996, allocations: 0.8355 MB / 408.1 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1998, allocations: 8 kB / 408.1 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.1999, allocations: 39.62 kB / 408.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.2001, allocations: 102.1 kB / 408.2 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.2004, allocations: 131.8 kB / 408.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.2007, allocations: 0.519 MB / 408.9 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.2009, allocations: 144.8 kB / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.2011, allocations: 187.3 kB / 409.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.2013, allocations: 231 kB / 409.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.2014, allocations: 31.94 kB / 409.5 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.2014, allocations: 32 kB / 409.5 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.2015, allocations: 83.61 kB / 409.6 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2017, allocations: 240.6 kB / 409.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.202, allocations: 0.5035 MB / 410.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.202, allocations: 0 / 410.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.202, allocations: 4 kB / 410.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2021, allocations: 0 / 410.3 MB, free: 25.61 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.001178/0.2032, allocations: 0.7531 MB / 411.1 MB, free: 24.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2033, allocations: 8.031 kB / 411.1 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.2034, allocations: 48.38 kB / 411.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.2036, allocations: 310.5 kB / 411.4 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2037, allocations: 29.38 kB / 411.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.2037, allocations: 44.28 kB / 411.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.2046, allocations: 0.5322 MB / 412 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2046, allocations: 0 / 412 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.2047, allocations: 16 kB / 412 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.2047, allocations: 8 kB / 412.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.2058, allocations: 0.5698 MB / 412.6 MB, free: 23.19 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.002012/0.2078, allocations: 1.69 MB / 414.3 MB, free: 21.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009052/0.2087, allocations: 471.6 kB / 414.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.2092, allocations: 258.5 kB / 415 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.2092, allocations: 12.31 kB / 415 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.2092, allocations: 38.89 kB / 415.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.2092, allocations: 0 / 415.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004232/0.2135, allocations: 1.541 MB / 416.6 MB, free: 18.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2135, allocations: 166.2 kB / 416.8 MB, free: 18.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.2138, allocations: 267 kB / 417 MB, free: 18.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2138, allocations: 33.7 kB / 417.1 MB, free: 18.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.2139, allocations: 212.3 kB / 417.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.214, allocations: 130 kB / 417.4 MB, free: 18.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.214, allocations: 12 kB / 417.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.2141, allocations: 342.8 kB / 417.8 MB, free: 17.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.2145, allocations: 204.8 kB / 418 MB, free: 17.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.2149, allocations: 302.5 kB / 418.3 MB, free: 17.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.2157, allocations: 474.5 kB / 418.7 MB, free: 16.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2157, allocations: 7.938 kB / 418.7 MB, free: 16.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001541/0.2173, allocations: 0.7717 MB / 419.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2173, allocations: 7.984 kB / 419.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2173, allocations: 4 kB / 419.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.2184, allocations: 329.5 kB / 419.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.2188, allocations: 91.88 kB / 419.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/0.2196, allocations: 1.366 MB / 421.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.2201, allocations: 91.75 kB / 421.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2201, allocations: 20 kB / 421.4 MB, free: 14.01 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.0001391/0.2202, allocations: 157.8 kB / 421.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.2203, allocations: 31.62 kB / 421.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.2221, allocations: 0.8212 MB / 422.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2222, allocations: 4 kB / 422.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2222, allocations: 0 / 422.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2222, allocations: 3.984 kB / 422.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.2226, allocations: 464.9 kB / 422.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2226, allocations: 4 kB / 422.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.2229, allocations: 67.89 kB / 422.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.2239, allocations: 341.4 kB / 423.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.2239, allocations: 12 kB / 423.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/0.2248, allocations: 1.382 MB / 424.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2248, allocations: 0 / 424.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.2269, allocations: 1.137 MB / 425.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.2269, allocations: 112.6 kB / 425.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.227, allocations: 8 kB / 425.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.2273, allocations: 60.02 kB / 426 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.2274, allocations: 27.95 kB / 426 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.2274, allocations: 8 kB / 426 MB, free: 9.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2276, allocations: 201.9 kB / 426.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2276, allocations: 0 / 426.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.2279, allocations: 111.8 kB / 426.3 MB, free: 8.922 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.0001598/0.2281, allocations: 116.5 kB / 426.4 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.2292, allocations: 0.5196 MB / 426.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2292, allocations: 0 / 426.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.2297, allocations: 275.9 kB / 427.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.2302, allocations: 41.58 kB / 427.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2316, allocations: 1.119 MB / 428.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.2318, allocations: 0.7995 MB / 429.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.2319, allocations: 34.95 kB / 429.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.232, allocations: 19.44 kB / 429.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.232, allocations: 4 kB / 429.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of Templates: time 0.00791/0.2399, allocations: 5.409 MB / 434.6 MB, free: 0.5508 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches