Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,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=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.106e-05, allocations: 2.312 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005034/0.005065, allocations: 2.908 MB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.007351, allocations: 0.7688 MB / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.007571, allocations: 7.938 kB / 271 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.007804, allocations: 67.3 kB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.008067, allocations: 118.9 kB / 271.2 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.00855, allocations: 155.6 kB / 271.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006914/0.009241, allocations: 0.5616 MB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.009513, allocations: 116.8 kB / 272 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.01, allocations: 327.3 kB / 272.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.01032, allocations: 191.5 kB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.712e-05/0.0104, allocations: 52 kB / 272.6 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.01053, allocations: 55.98 kB / 272.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.01065, allocations: 111.6 kB / 272.7 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.01087, allocations: 171.6 kB / 272.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008028/0.01167, allocations: 0.5803 MB / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.01167, allocations: 0 / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01167, allocations: 8 kB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.01168, allocations: 0 / 273.5 MB, free: 488 kB / 250.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.001815/0.0135, allocations: 0.7273 MB / 274.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.01354, allocations: 8.922 kB / 274.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.01386, allocations: 80.66 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.01437, allocations: 260.5 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.01442, allocations: 25.38 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.0145, allocations: 40.38 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.01582, allocations: 0.6517 MB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01584, allocations: 4.188 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.0159, allocations: 16.38 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.01592, allocations: 11.94 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.01735, allocations: 499.6 kB / 275.8 MB, free: 14.06 MB / 266.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.002755/0.0201, allocations: 1.198 MB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.02129, allocations: 395.7 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.02184, allocations: 228.2 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.02189, allocations: 8.328 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.02193, allocations: 38.89 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.02194, allocations: 0 / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.005304/0.02724, allocations: 1.234 MB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.02737, allocations: 162.2 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.02778, allocations: 268.2 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.02784, allocations: 29.7 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.02803, allocations: 220.7 kB / 279.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.02817, allocations: 138.8 kB / 279.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.02833, allocations: 74.2 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.02853, allocations: 346.8 kB / 280.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.02909, allocations: 180.9 kB / 280.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.02981, allocations: 386 kB / 280.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.0309, allocations: 426.5 kB / 281.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.03091, allocations: 0 / 281.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002216/0.03312, allocations: 0.6977 MB / 281.8 MB, free: 7.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.03314, allocations: 4 kB / 281.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.03315, allocations: 4 kB / 281.8 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.03461, allocations: 313.4 kB / 282.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.035, allocations: 91.81 kB / 282.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.03661, allocations: 1.347 MB / 283.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.03713, allocations: 83.78 kB / 283.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.03717, allocations: 19.94 kB / 283.6 MB, free: 5.91 MB / 266.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.000236/0.0374, allocations: 157.7 kB / 283.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.03751, allocations: 43.81 kB / 283.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.03997, allocations: 0.7236 MB / 284.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.03997, allocations: 11.92 kB / 284.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.03998, allocations: 0 / 284.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.03998, allocations: 4 kB / 284.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.04053, allocations: 317 kB / 284.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.04053, allocations: 0 / 284.9 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.04087, allocations: 63.88 kB / 284.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.04222, allocations: 321.3 kB / 285.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.04225, allocations: 8 kB / 285.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.04386, allocations: 1.366 MB / 286.6 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.04387, allocations: 0 / 286.6 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.04677, allocations: 1.019 MB / 287.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.04684, allocations: 43.61 kB / 287.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.04691, allocations: 16.05 kB / 287.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.0473, allocations: 39.95 kB / 287.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.04738, allocations: 24 kB / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.04742, allocations: 19.97 kB / 287.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.0477, allocations: 187.1 kB / 288 MB, free: 1.434 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0477, allocations: 0 / 288 MB, free: 1.434 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004632/0.04817, allocations: 111.8 kB / 288.1 MB, free: 1.324 MB / 266.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.0002073/0.04837, allocations: 119.1 kB / 288.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.04992, allocations: 466.1 kB / 288.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.04992, allocations: 0 / 288.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006894/0.05061, allocations: 248.4 kB / 288.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.05103, allocations: 59.45 kB / 288.9 MB, free: 456 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1019/0.1529, allocations: 0.8039 MB / 289.7 MB, free: 33.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.1531, allocations: 191.1 kB / 289.9 MB, free: 32.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.1533, allocations: 32.12 kB / 290 MB, free: 32.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.209e-05/0.1533, allocations: 27.94 kB / 290 MB, free: 32.98 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1533, allocations: 0 / 290 MB, free: 32.98 MB / 266.7 MB Notification: Performance of Templates: time 0.01064/0.164, allocations: 4.966 MB / 295 MB, free: 32.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.474357461906038]