Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001977/0.001977, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.3e-05, allocations: 3.719 kB / 325 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004542/0.004565, allocations: 2.929 MB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.006645, allocations: 0.8248 MB / 328.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.007052, allocations: 9.781 kB / 328.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.007353, allocations: 61.2 kB / 328.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.007798, allocations: 123.3 kB / 329 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.008477, allocations: 158 kB / 329.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009686/0.009446, allocations: 0.5708 MB / 329.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.009768, allocations: 118.6 kB / 329.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.01066, allocations: 325.2 kB / 330.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.01107, allocations: 194.6 kB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.01116, allocations: 50.75 kB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.01131, allocations: 60.73 kB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01146, allocations: 119.1 kB / 330.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.0117, allocations: 172.3 kB / 330.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007888/0.01249, allocations: 0.5863 MB / 331.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01249, allocations: 0 / 331.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01249, allocations: 1.406 kB / 331.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.0125, allocations: 0 / 331.3 MB, free: 12.49 MB / 302.1 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.00179/0.01429, allocations: 0.7287 MB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.01433, allocations: 13.8 kB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.01461, allocations: 66.28 kB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.01514, allocations: 260.2 kB / 332.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.01518, allocations: 28.56 kB / 332.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.01526, allocations: 40.62 kB / 332.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.01652, allocations: 0.6466 MB / 333.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.01654, allocations: 1.344 kB / 333.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.01659, allocations: 19.78 kB / 333.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.01661, allocations: 17.5 kB / 333.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.018, allocations: 0.4993 MB / 333.6 MB, free: 10.87 MB / 302.1 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.002487/0.02049, allocations: 1.184 MB / 334.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.02169, allocations: 412.4 kB / 335.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.02222, allocations: 222.2 kB / 335.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.02227, allocations: 12.97 kB / 335.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.0223, allocations: 34.64 kB / 335.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/0.0223, allocations: 0 / 335.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005199/0.0275, allocations: 1.208 MB / 336.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.02761, allocations: 166.8 kB / 336.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.02797, allocations: 272 kB / 337.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.02802, allocations: 33.02 kB / 337.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.02822, allocations: 216.3 kB / 337.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.02837, allocations: 143.3 kB / 337.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.02851, allocations: 79.58 kB / 337.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.02869, allocations: 348.6 kB / 337.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.02926, allocations: 184.9 kB / 338.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.02997, allocations: 385.9 kB / 338.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.03107, allocations: 418.6 kB / 338.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.03107, allocations: 4 kB / 338.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002045/0.03312, allocations: 0.6665 MB / 339.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.03314, allocations: 4 kB / 339.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.03314, allocations: 8.062 kB / 339.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.03456, allocations: 317.4 kB / 339.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.03493, allocations: 79.81 kB / 339.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.03646, allocations: 1.351 MB / 341.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.03696, allocations: 71.72 kB / 341.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.03701, allocations: 19.94 kB / 341.4 MB, free: 4.242 MB / 302.1 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.0002121/0.03722, allocations: 165.9 kB / 341.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.0373, allocations: 35.77 kB / 341.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.03967, allocations: 0.7084 MB / 342.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.03967, allocations: 8 kB / 342.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.03968, allocations: 0 / 342.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.03969, allocations: 3.984 kB / 342.3 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.04023, allocations: 324.9 kB / 342.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.04023, allocations: 192 / 342.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.04055, allocations: 63.89 kB / 342.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.04183, allocations: 325.4 kB / 343 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.04186, allocations: 4 kB / 343 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.04332, allocations: 1.366 MB / 344.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.04332, allocations: 0 / 344.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.04618, allocations: 1.015 MB / 345.4 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.04624, allocations: 35.72 kB / 345.4 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.0463, allocations: 12 kB / 345.4 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.0467, allocations: 44 kB / 345.5 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.04679, allocations: 24.03 kB / 345.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.04682, allocations: 12 kB / 345.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.04709, allocations: 195.1 kB / 345.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04709, allocations: 0 / 345.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.04752, allocations: 115.7 kB / 345.8 MB, free: 15.67 MB / 318.1 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.0001893/0.04771, allocations: 115.3 kB / 345.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.04908, allocations: 455.4 kB / 346.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.04909, allocations: 0 / 346.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.04975, allocations: 240 kB / 346.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.05015, allocations: 49.16 kB / 346.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.05183, allocations: 0.8188 MB / 347.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.05204, allocations: 191 kB / 347.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.05217, allocations: 38.95 kB / 347.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.05224, allocations: 20.5 kB / 347.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.05224, allocations: 0 / 347.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of Templates: time 0.01096/0.0632, allocations: 4.952 MB / 352.7 MB, free: 8.828 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.650921616703272]