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.002004/0.002004, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001979/0.001979, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 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.481/1.481, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 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 0.001531/0.001531, allocations: 43.92 kB / 370.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2609, allocations: 52.18 MB / 423.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005151/0.2661, allocations: 3.189 MB / 426.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2677, allocations: 0.7845 MB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2678, allocations: 11.94 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.268, allocations: 63.36 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2682, allocations: 118.9 kB / 427.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.2686, allocations: 147.7 kB / 427.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.2692, allocations: 0.5462 MB / 428 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.2695, allocations: 124.8 kB / 428.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.2698, allocations: 227.3 kB / 428.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.2701, allocations: 251 kB / 428.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.2702, allocations: 52 kB / 428.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2703, allocations: 56 kB / 428.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2704, allocations: 115.7 kB / 428.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.2707, allocations: 242.8 kB / 429 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.2714, allocations: 0.5538 MB / 429.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2714, allocations: 0 / 429.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2714, allocations: 3.938 kB / 429.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2714, allocations: 4 kB / 429.6 MB, free: 8.16 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.001721/0.2731, allocations: 0.7274 MB / 430.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2732, allocations: 8.031 kB / 430.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.2733, allocations: 48.66 kB / 430.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.2737, allocations: 264.8 kB / 430.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.2738, allocations: 25.38 kB / 430.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.2738, allocations: 36.38 kB / 430.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.275, allocations: 0.5048 MB / 431.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.275, allocations: 0 / 431.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.2751, allocations: 16 kB / 431.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2751, allocations: 8 kB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.2765, allocations: 0.4996 MB / 431.7 MB, free: 5.953 MB / 334.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.003059/0.2796, allocations: 1.629 MB / 433.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2808, allocations: 399.7 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.2813, allocations: 223.6 kB / 433.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.2814, allocations: 12.31 kB / 434 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2814, allocations: 34.89 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.2814, allocations: 0 / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00522/0.2866, allocations: 1.218 MB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.2868, allocations: 166.2 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.2872, allocations: 264.2 kB / 435.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.2872, allocations: 33.7 kB / 435.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.2874, allocations: 216.7 kB / 435.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2875, allocations: 142.7 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.2876, allocations: 82.08 kB / 436.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2878, allocations: 346.8 kB / 436.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.2884, allocations: 176.8 kB / 436.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.289, allocations: 286.5 kB / 436.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.2902, allocations: 434.5 kB / 437.3 MB, free: 48 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2902, allocations: 4 kB / 437.3 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00201/0.2922, allocations: 0.6704 MB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2922, allocations: 4 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2922, allocations: 4 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.2936, allocations: 325.4 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.294, allocations: 75.88 kB / 438.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.2955, allocations: 1.358 MB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.296, allocations: 75.84 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.296, allocations: 16 kB / 439.8 MB, free: 13.45 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.0002231/0.2962, allocations: 157.8 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.2963, allocations: 39.77 kB / 440 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.2986, allocations: 0.7123 MB / 440.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2986, allocations: 8 kB / 440.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2986, allocations: 0 / 440.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2986, allocations: 3.984 kB / 440.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.2993, allocations: 439.9 kB / 441.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2993, allocations: 0 / 441.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.2996, allocations: 63.89 kB / 441.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.3008, allocations: 317.4 kB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.3009, allocations: 15.98 kB / 441.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.3023, allocations: 1.355 MB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3023, allocations: 0 / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.3051, allocations: 1.016 MB / 443.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/0.3051, allocations: 35.73 kB / 444 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.3052, allocations: 12.06 kB / 444 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3056, allocations: 43.94 kB / 444 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.3057, allocations: 23.95 kB / 444 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3057, allocations: 12 kB / 444.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.306, allocations: 199.1 kB / 444.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.306, allocations: 0 / 444.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.3064, allocations: 111.8 kB / 444.4 MB, free: 8.77 MB / 350.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.0002017/0.3066, allocations: 111.1 kB / 444.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.308, allocations: 451.7 kB / 444.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.308, allocations: 0 / 444.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.3086, allocations: 252.1 kB / 445.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.309, allocations: 47.56 kB / 445.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3108, allocations: 0.8823 MB / 446.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.3113, allocations: 0.7956 MB / 446.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.3114, allocations: 30.97 kB / 446.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.3115, allocations: 27.44 kB / 446.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3115, allocations: 0 / 446.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of Templates: time 0.01273/0.3242, allocations: 6.339 MB / 453.3 MB, free: 15.81 MB / 366.1 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.812038017436862]