Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 164.3 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.205e-05, allocations: 2.312 kB / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004722/0.004754, allocations: 2.872 MB / 253.2 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.006413, allocations: 0.8004 MB / 254 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.006564, allocations: 4 kB / 254 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.006763, allocations: 55.38 kB / 254.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.007008, allocations: 126.8 kB / 254.2 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.007473, allocations: 151.7 kB / 254.4 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009251/0.008398, allocations: 0.5538 MB / 254.9 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.008686, allocations: 116.8 kB / 255 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.009134, allocations: 315.4 kB / 255.3 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.00945, allocations: 183.5 kB / 255.5 MB, free: 2.648 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.999e-05/0.00954, allocations: 52 kB / 255.6 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.009683, allocations: 56 kB / 255.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.009817, allocations: 119.5 kB / 255.7 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.01003, allocations: 171.6 kB / 255.9 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.01078, allocations: 0.5725 MB / 256.5 MB, free: 1.684 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.01078, allocations: 7.984 kB / 256.5 MB, free: 1.676 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01078, allocations: 0 / 256.5 MB, free: 1.676 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.01079, allocations: 3.938 kB / 256.5 MB, free: 1.672 MB / 234.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.001742/0.01253, allocations: 0.7157 MB / 257.2 MB, free: 0.918 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.01258, allocations: 15.98 kB / 257.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.01275, allocations: 80.66 kB / 257.3 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.01327, allocations: 256.5 kB / 257.6 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.01331, allocations: 29.38 kB / 257.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.0134, allocations: 40.38 kB / 257.6 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.01473, allocations: 0.6517 MB / 258.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.01475, allocations: 4.172 kB / 258.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.0148, allocations: 16.38 kB / 258.3 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.01481, allocations: 11.94 kB / 258.3 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.01624, allocations: 0.4918 MB / 258.8 MB, free: 15.25 MB / 250.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.002617/0.01886, allocations: 1.209 MB / 260 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.02008, allocations: 391.7 kB / 260.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.02064, allocations: 229.3 kB / 260.6 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.02068, allocations: 12.33 kB / 260.6 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.02073, allocations: 34.89 kB / 260.7 MB, free: 13.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.02073, allocations: 0 / 260.7 MB, free: 13.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.005457/0.02619, allocations: 1.231 MB / 261.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.02631, allocations: 158.2 kB / 262 MB, free: 11.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.0267, allocations: 261.8 kB / 262.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.02676, allocations: 33.7 kB / 262.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.02695, allocations: 212.7 kB / 262.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.02711, allocations: 142.8 kB / 262.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.02726, allocations: 78.14 kB / 262.8 MB, free: 11.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.02748, allocations: 338.8 kB / 263.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.02805, allocations: 184.9 kB / 263.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.02881, allocations: 385.9 kB / 263.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.02994, allocations: 426.6 kB / 264.1 MB, free: 9.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02994, allocations: 0 / 264.1 MB, free: 9.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001999/0.03194, allocations: 0.6861 MB / 264.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.03196, allocations: 8 kB / 264.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.03197, allocations: 4 kB / 264.8 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.03339, allocations: 321.4 kB / 265.1 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.03376, allocations: 83.81 kB / 265.2 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.03539, allocations: 1.351 MB / 266.5 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.03586, allocations: 79.8 kB / 266.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.0359, allocations: 19.94 kB / 266.6 MB, free: 7.129 MB / 250.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.0002562/0.03616, allocations: 157.8 kB / 266.8 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.03626, allocations: 43.81 kB / 266.8 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.03858, allocations: 0.7235 MB / 267.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.03858, allocations: 4 kB / 267.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03859, allocations: 4 kB / 267.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.0386, allocations: 3.984 kB / 267.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.03914, allocations: 328.7 kB / 267.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03914, allocations: 0 / 267.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.03945, allocations: 55.95 kB / 267.9 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.04075, allocations: 317.4 kB / 268.2 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.04078, allocations: 19.98 kB / 268.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.04263, allocations: 1.362 MB / 269.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04264, allocations: 0 / 269.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.04545, allocations: 1.02 MB / 270.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.04553, allocations: 43.69 kB / 270.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.04558, allocations: 8 kB / 270.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.04597, allocations: 43.95 kB / 270.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.04606, allocations: 31.88 kB / 270.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.04609, allocations: 8 kB / 270.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002649/0.04635, allocations: 181.2 kB / 270.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04635, allocations: 0 / 270.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.04681, allocations: 119.8 kB / 271.1 MB, free: 2.543 MB / 250.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.0002076/0.04702, allocations: 115.2 kB / 271.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.0484, allocations: 457.9 kB / 271.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.0484, allocations: 0 / 271.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000661/0.04906, allocations: 240.9 kB / 271.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.04946, allocations: 52.44 kB / 271.9 MB, free: 1.691 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.05122, allocations: 0.8239 MB / 272.7 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.05143, allocations: 191 kB / 272.9 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.05157, allocations: 30.98 kB / 272.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.05164, allocations: 24.48 kB / 273 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05164, allocations: 0 / 273 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of Templates: time 0.01118/0.06282, allocations: 4.973 MB / 277.9 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.569909194018692]