Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00078/0.00078, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003051/0.003051, allocations: 163.8 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.871/0.871, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.279e-05, allocations: 8.531 kB / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002963/0.002986, allocations: 2.938 MB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.004155, allocations: 0.8233 MB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.004295, allocations: 4 kB / 329.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.004452, allocations: 67.31 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.004587, allocations: 122.8 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.004937, allocations: 159.7 kB / 330 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.005295, allocations: 0.5694 MB / 330.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.005508, allocations: 120.8 kB / 330.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.005965, allocations: 327.3 kB / 331 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.006261, allocations: 199.5 kB / 331.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.006345, allocations: 52 kB / 331.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.006471, allocations: 56 kB / 331.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.006566, allocations: 115.6 kB / 331.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.006736, allocations: 167.6 kB / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.007251, allocations: 0.5919 MB / 332.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.007253, allocations: 0 / 332.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.007255, allocations: 4 kB / 332.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007261, allocations: 0 / 332.1 MB, free: 9.102 MB / 298.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.001076/0.008337, allocations: 0.7196 MB / 332.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.008373, allocations: 12.03 kB / 332.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.008809, allocations: 60.59 kB / 332.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.009125, allocations: 260.5 kB / 333.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.009151, allocations: 33.31 kB / 333.2 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.009202, allocations: 40.38 kB / 333.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.009882, allocations: 0.6517 MB / 333.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.009896, allocations: 192 / 333.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.009927, allocations: 16.38 kB / 333.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.009936, allocations: 11.94 kB / 333.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.01065, allocations: 0.5035 MB / 334.4 MB, free: 6.688 MB / 298.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.001442/0.0121, allocations: 1.186 MB / 335.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.0128, allocations: 396.7 kB / 336 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.01308, allocations: 233.2 kB / 336.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.01311, allocations: 8.328 kB / 336.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.01314, allocations: 34.89 kB / 336.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.01314, allocations: 4 kB / 336.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002428/0.01557, allocations: 1.214 MB / 337.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.01563, allocations: 162.2 kB / 337.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01583, allocations: 272.2 kB / 337.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01586, allocations: 33.7 kB / 338 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.01596, allocations: 212.7 kB / 338.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.01603, allocations: 142.8 kB / 338.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.01612, allocations: 78.14 kB / 338.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.01621, allocations: 342.8 kB / 338.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.0165, allocations: 184.9 kB / 338.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.01686, allocations: 385.9 kB / 339.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.01741, allocations: 418.6 kB / 339.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.01742, allocations: 8 kB / 339.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001267/0.01869, allocations: 0.6665 MB / 340.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.0187, allocations: 7.984 kB / 340.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01871, allocations: 8.062 kB / 340.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.01943, allocations: 317.4 kB / 340.7 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.0196, allocations: 79.81 kB / 340.8 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008163/0.02042, allocations: 1.351 MB / 342.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.02062, allocations: 71.72 kB / 342.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.02064, allocations: 23.92 kB / 342.2 MB, free: 14.6 MB / 314.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.0001324/0.02077, allocations: 157.9 kB / 342.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.02081, allocations: 35.77 kB / 342.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.02192, allocations: 0.7201 MB / 343.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02193, allocations: 7.938 kB / 343.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.02193, allocations: 0 / 343.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.02194, allocations: 8.016 kB / 343.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.02222, allocations: 325 kB / 343.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.02222, allocations: 0 / 343.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.02238, allocations: 67.88 kB / 343.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.02295, allocations: 317.4 kB / 343.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.02297, allocations: 12 kB / 343.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007356/0.02371, allocations: 1.358 MB / 345.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02371, allocations: 0 / 345.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.02503, allocations: 1.012 MB / 346.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.02506, allocations: 35.72 kB / 346.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.0251, allocations: 12 kB / 346.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.02526, allocations: 44 kB / 346.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.02532, allocations: 23.95 kB / 346.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.02534, allocations: 12 kB / 346.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.02547, allocations: 195.1 kB / 346.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02547, allocations: 0 / 346.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.02572, allocations: 111.8 kB / 346.6 MB, free: 10.04 MB / 314.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.0001396/0.02586, allocations: 115.2 kB / 346.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009967/0.02686, allocations: 455.4 kB / 347.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02686, allocations: 0 / 347.2 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.02717, allocations: 251.9 kB / 347.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.02743, allocations: 49.17 kB / 347.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.02848, allocations: 0.8333 MB / 348.3 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.02859, allocations: 195 kB / 348.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.02866, allocations: 28.48 kB / 348.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02866, allocations: 0 / 348.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of Templates: time 0.006352/0.03501, allocations: 7.315 MB / 355.8 MB, free: 0.7539 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.418471487239003]