Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00172/0.00172, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.002028/0.002028, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.235, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004604/0.2397, allocations: 3.19 MB / 435.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2412, allocations: 0.8585 MB / 436.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2413, allocations: 8 kB / 436.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2415, allocations: 59.38 kB / 436.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.2417, allocations: 114.9 kB / 436.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.2421, allocations: 163.7 kB / 436.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.2426, allocations: 0.5502 MB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.2429, allocations: 120.4 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.2432, allocations: 227.2 kB / 437.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.2435, allocations: 259 kB / 437.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.2436, allocations: 52 kB / 437.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2437, allocations: 56 kB / 437.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.891e-05/0.2438, allocations: 115.6 kB / 437.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.2441, allocations: 234.9 kB / 438 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.2447, allocations: 0.5622 MB / 438.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.2447, allocations: 0 / 438.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2447, allocations: 0 / 438.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2447, allocations: 0 / 438.6 MB, free: 0.8359 MB / 334.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.001666/0.2464, allocations: 0.8145 MB / 439.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2464, allocations: 12.03 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.2466, allocations: 60.61 kB / 439.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.2471, allocations: 315.4 kB / 439.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.2471, allocations: 29.38 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.2472, allocations: 40.36 kB / 439.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2483, allocations: 0.5048 MB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2483, allocations: 0 / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.2483, allocations: 16 kB / 440.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2484, allocations: 12 kB / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.2498, allocations: 0.4996 MB / 440.9 MB, free: 14.44 MB / 350.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.00271/0.2525, allocations: 1.664 MB / 442.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.2536, allocations: 411.6 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.2541, allocations: 217.4 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2542, allocations: 8.328 kB / 443.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2542, allocations: 38.88 kB / 443.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.2542, allocations: 8 kB / 443.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005153/0.2593, allocations: 1.354 MB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2594, allocations: 162.2 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.2598, allocations: 267 kB / 445 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.2598, allocations: 41.7 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.26, allocations: 212.7 kB / 445.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2601, allocations: 146.7 kB / 445.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.2603, allocations: 74.12 kB / 445.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2604, allocations: 342.8 kB / 445.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.261, allocations: 188.7 kB / 446 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.2616, allocations: 286.5 kB / 446.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2627, allocations: 422.5 kB / 446.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2627, allocations: 4 kB / 446.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001937/0.2646, allocations: 0.6665 MB / 447.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2646, allocations: 18.91 kB / 447.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2646, allocations: 4 kB / 447.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.266, allocations: 309.4 kB / 447.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.2663, allocations: 83.88 kB / 447.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.2677, allocations: 1.343 MB / 449.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.2682, allocations: 79.8 kB / 449.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.2682, allocations: 16 kB / 449.2 MB, free: 5.719 MB / 350.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.0002025/0.2684, allocations: 157.8 kB / 449.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.2685, allocations: 39.77 kB / 449.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.2708, allocations: 0.7201 MB / 450.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2708, allocations: 7.922 kB / 450.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2708, allocations: 4 kB / 450.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2709, allocations: 116.8 kB / 450.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.2709, allocations: 8 kB / 450.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.2713, allocations: 47.94 kB / 450.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.2714, allocations: 24.09 kB / 450.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002688/0.2741, allocations: 0.8023 MB / 451.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001775/0.2758, allocations: 0.8553 MB / 452 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004813/0.2763, allocations: 179.9 kB / 452.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.2766, allocations: 197.9 kB / 452.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Backend: time 6.72e-07/0.2766, allocations: 0 / 452.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.2778, allocations: 381.3 kB / 452.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of SimCode: time 0.001709/0.2795, allocations: 1.387 MB / 454.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Templates: time 0.01181/0.2913, allocations: 6.345 MB / 460.4 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.372505890671164]