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.0008458/0.0008458, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004172/0.004172, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8778/0.8778, allocations: 177 MB / 204.9 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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 2.004e-06/2.004e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.137e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004325/0.004356, allocations: 2.927 MB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.00591, allocations: 0.8233 MB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.006094, allocations: 8 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.006285, allocations: 59.38 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.006511, allocations: 122.8 kB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.00698, allocations: 167.7 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.007539, allocations: 0.5655 MB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.007807, allocations: 124.7 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.008286, allocations: 335.3 kB / 330.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.008553, allocations: 183.5 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.008637, allocations: 52 kB / 331.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.008753, allocations: 60 kB / 331.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.813e-05/0.008841, allocations: 119.6 kB / 331.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.009004, allocations: 167.6 kB / 331.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.009638, allocations: 0.5958 MB / 332.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00964, allocations: 4 kB / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009641, allocations: 0 / 332.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.009652, allocations: 0 / 332.1 MB, free: 9.047 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.001374/0.01103, allocations: 0.7196 MB / 332.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.01107, allocations: 11.98 kB / 332.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.01127, allocations: 68.59 kB / 332.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.01171, allocations: 252.5 kB / 333.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.01175, allocations: 33.38 kB / 333.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.01182, allocations: 36.38 kB / 333.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.01293, allocations: 0.6556 MB / 333.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.01295, allocations: 192 / 333.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.013, allocations: 16.38 kB / 333.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.01301, allocations: 11.94 kB / 333.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.01424, allocations: 0.4996 MB / 334.4 MB, free: 6.637 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.002263/0.0165, allocations: 1.19 MB / 335.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.0175, allocations: 399.6 kB / 336 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.01794, allocations: 225.4 kB / 336.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.01797, allocations: 4.328 kB / 336.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.018, allocations: 38.89 kB / 336.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.265e-06/0.018, allocations: 0 / 336.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003927/0.02193, allocations: 1.218 MB / 337.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.02201, allocations: 162.2 kB / 337.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.02232, allocations: 268.2 kB / 337.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.02236, allocations: 41.64 kB / 337.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.0225, allocations: 212.7 kB / 338.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.0226, allocations: 142.8 kB / 338.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.02273, allocations: 78.14 kB / 338.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.02284, allocations: 342.8 kB / 338.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.02331, allocations: 188.9 kB / 338.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.02386, allocations: 374 kB / 339.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/0.02476, allocations: 430.6 kB / 339.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.02476, allocations: 0 / 339.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001617/0.02638, allocations: 0.6704 MB / 340.3 MB, free: 456 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.0264, allocations: 11.98 kB / 340.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.02641, allocations: 3.938 kB / 340.3 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.02753, allocations: 313.4 kB / 340.6 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.02782, allocations: 91.81 kB / 340.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.0291, allocations: 1.343 MB / 342 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.02933, allocations: 75.84 kB / 342.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.02936, allocations: 23.92 kB / 342.1 MB, free: 14.53 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.0001263/0.02948, allocations: 149.8 kB / 342.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.02952, allocations: 39.77 kB / 342.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.03064, allocations: 0.7123 MB / 343 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.03064, allocations: 8 kB / 343 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.03065, allocations: 0 / 343 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.03065, allocations: 3.984 kB / 343.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.03095, allocations: 328.8 kB / 343.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.03095, allocations: 0 / 343.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.03109, allocations: 63.94 kB / 343.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/0.03167, allocations: 321.4 kB / 343.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.03169, allocations: 12 kB / 343.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007306/0.03242, allocations: 1.358 MB / 345.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03242, allocations: 4.031 kB / 345.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.03373, allocations: 1.019 MB / 346.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.03377, allocations: 31.91 kB / 346.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.0338, allocations: 8 kB / 346.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.03397, allocations: 51.88 kB / 346.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.03402, allocations: 23.95 kB / 346.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.03404, allocations: 11.98 kB / 346.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.03417, allocations: 191.1 kB / 346.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03417, allocations: 4.062 kB / 346.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.03447, allocations: 115.8 kB / 346.6 MB, free: 9.969 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.0001395/0.03461, allocations: 103.2 kB / 346.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007474/0.03535, allocations: 455.5 kB / 347.1 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.03535, allocations: 3.938 kB / 347.1 MB, free: 9.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.03567, allocations: 252.4 kB / 347.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.03594, allocations: 40.62 kB / 347.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.03699, allocations: 0.8346 MB / 348.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.0371, allocations: 191 kB / 348.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.03716, allocations: 36.48 kB / 348.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03716, allocations: 0 / 348.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of Templates: time 0.005633/0.0428, allocations: 7.318 MB / 355.8 MB, free: 0.6953 MB / 314.7 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.653553361073136]