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.002347/0.002347, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.00205/0.00205, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 18.57 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.509/1.509, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.282e-06/1.282e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.559e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005023/0.005048, allocations: 3.089 MB / 270.4 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.006682, allocations: 0.7882 MB / 271.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.006845, allocations: 7.938 kB / 271.2 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.007051, allocations: 59.38 kB / 271.3 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.007294, allocations: 126.8 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.00773, allocations: 155.6 kB / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006837/0.008414, allocations: 0.5616 MB / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.008679, allocations: 120.8 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.009165, allocations: 319.3 kB / 272.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.009494, allocations: 207.4 kB / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.442e-05/0.009589, allocations: 48 kB / 272.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.009719, allocations: 56 kB / 272.8 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.009848, allocations: 115.6 kB / 272.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.01008, allocations: 167.6 kB / 273.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007637/0.01084, allocations: 0.5803 MB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01085, allocations: 0 / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01085, allocations: 4 kB / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.01086, allocations: 0 / 273.7 MB, free: 320 kB / 250.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.001766/0.01262, allocations: 0.827 MB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01266, allocations: 8.922 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.01283, allocations: 80.66 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.0133, allocations: 263.3 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.01334, allocations: 29.38 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.01342, allocations: 36.38 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.01464, allocations: 0.65 MB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.01466, allocations: 192 / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.01471, allocations: 16.38 kB / 275.6 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.01472, allocations: 11.94 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.01595, allocations: 443.7 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.0187, allocations: 1.314 MB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.01981, allocations: 380.2 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.02033, allocations: 215.6 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.02038, allocations: 8.328 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.02042, allocations: 41.72 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.452e-06/0.02042, allocations: 0 / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.004885/0.0253, allocations: 1.107 MB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.02543, allocations: 158.2 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.02589, allocations: 358.2 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.02593, allocations: 37.7 kB / 279.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.02617, allocations: 267.4 kB / 279.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.02633, allocations: 150.8 kB / 280 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.0265, allocations: 87.84 kB / 280.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/0.02685, allocations: 0.5313 MB / 280.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.02734, allocations: 164.9 kB / 280.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.02802, allocations: 400 kB / 281.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.029, allocations: 429.2 kB / 281.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.02901, allocations: 4 kB / 281.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001834/0.03084, allocations: 0.6448 MB / 282.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.03087, allocations: 15 kB / 282.3 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.03087, allocations: 0 / 282.3 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.03229, allocations: 319 kB / 282.6 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.03261, allocations: 71.83 kB / 282.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.0345, allocations: 1.889 MB / 284.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.0349, allocations: 63.64 kB / 284.6 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.03494, allocations: 19.94 kB / 284.6 MB, free: 4.844 MB / 266.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.03519, allocations: 204.5 kB / 284.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.0353, allocations: 43.81 kB / 284.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.0374, allocations: 0.6552 MB / 285.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.03741, allocations: 7.984 kB / 285.6 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.03741, allocations: 4 kB / 285.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.03742, allocations: 0 / 285.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.03805, allocations: 372.3 kB / 285.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.03805, allocations: 0 / 285.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.03835, allocations: 55.89 kB / 286 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.03964, allocations: 315.1 kB / 286.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.03968, allocations: 11.98 kB / 286.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.04152, allocations: 1.904 MB / 288.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.04152, allocations: 0 / 288.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.04413, allocations: 0.9978 MB / 289.2 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.04421, allocations: 47.58 kB / 289.2 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.04427, allocations: 7.984 kB / 289.3 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.04459, allocations: 23.98 kB / 289.3 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.04467, allocations: 23.95 kB / 289.3 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.04471, allocations: 15.98 kB / 289.3 MB, free: 12 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.09613/0.1408, allocations: 234.3 kB / 289.5 MB, free: 33.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1408, allocations: 0.5 kB / 289.5 MB, free: 33.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005215/0.1414, allocations: 111.6 kB / 289.7 MB, free: 33.14 MB / 266.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.0001663/0.1415, allocations: 110 kB / 289.8 MB, free: 33.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1427, allocations: 454.1 kB / 290.2 MB, free: 33.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1427, allocations: 5.094 kB / 290.2 MB, free: 33.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.1433, allocations: 257.1 kB / 290.5 MB, free: 33.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.1437, allocations: 50.17 kB / 290.5 MB, free: 33.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1451, allocations: 0.814 MB / 291.3 MB, free: 32.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.1453, allocations: 190.4 kB / 291.5 MB, free: 32.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1454, allocations: 33.73 kB / 291.5 MB, free: 32.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1455, allocations: 24.91 kB / 291.6 MB, free: 32.6 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1455, allocations: 1.906 kB / 291.6 MB, free: 32.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01045/0.1559, allocations: 5.004 MB / 296.6 MB, free: 31.71 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] 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.697688025073148]