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.001391/0.001391, allocations: 76.59 kB / 21.24 MB, free: 0.5469 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.001356/0.001356, allocations: 156 kB / 24.49 MB, free: 3.727 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.418/1.418, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.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.001687/0.001687, allocations: 47.33 kB / 319.4 MB, free: 3.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1028, allocations: 52.17 MB / 371.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004716/0.1075, allocations: 2.903 MB / 374.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.109, allocations: 0.7651 MB / 375.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1091, allocations: 11.88 kB / 375.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.1093, allocations: 59.38 kB / 375.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.1095, allocations: 118.9 kB / 375.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.1099, allocations: 151.7 kB / 375.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.1105, allocations: 0.5385 MB / 376.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1108, allocations: 128.7 kB / 376.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.111, allocations: 215.4 kB / 376.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1114, allocations: 226.9 kB / 376.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.1114, allocations: 52 kB / 376.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1116, allocations: 55.98 kB / 376.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1117, allocations: 111.7 kB / 376.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.1119, allocations: 203.1 kB / 377.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.1126, allocations: 0.5565 MB / 377.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1126, allocations: 0 / 377.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1126, allocations: 0 / 377.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1126, allocations: 0 / 377.6 MB, free: 1.379 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.001706/0.1143, allocations: 0.7391 MB / 378.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1143, allocations: 12.92 kB / 378.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.1144, allocations: 48.66 kB / 378.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1149, allocations: 253.2 kB / 378.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1149, allocations: 33.38 kB / 378.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.115, allocations: 36.38 kB / 378.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1162, allocations: 0.6553 MB / 379.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1162, allocations: 0 / 379.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.1162, allocations: 16 kB / 379.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1163, allocations: 12 kB / 379.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.1177, allocations: 0.4918 MB / 379.9 MB, free: 14.98 MB / 350.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.002462/0.1202, allocations: 1.182 MB / 381.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1213, allocations: 402.5 kB / 381.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.1219, allocations: 225.4 kB / 381.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.1219, allocations: 8.328 kB / 381.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1219, allocations: 42.88 kB / 381.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.122, allocations: 0 / 381.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005066/0.127, allocations: 1.21 MB / 383 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.1272, allocations: 158.2 kB / 383.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.1276, allocations: 276.1 kB / 383.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.1277, allocations: 33.7 kB / 383.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1278, allocations: 212.6 kB / 383.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1279, allocations: 154.7 kB / 383.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1281, allocations: 74.19 kB / 383.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1283, allocations: 342.8 kB / 384.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.1288, allocations: 184.9 kB / 384.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/0.1295, allocations: 382 kB / 384.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.1306, allocations: 426.5 kB / 385.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1306, allocations: 8 kB / 385.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00202/0.1326, allocations: 0.6704 MB / 385.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1327, allocations: 15.94 kB / 385.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1327, allocations: 4 kB / 385.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.1341, allocations: 317.4 kB / 386.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.1344, allocations: 79.88 kB / 386.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1359, allocations: 1.343 MB / 387.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.1363, allocations: 71.72 kB / 387.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.1364, allocations: 23.97 kB / 387.7 MB, free: 6.887 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.0002167/0.1366, allocations: 157.9 kB / 387.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.1367, allocations: 35.77 kB / 387.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.139, allocations: 0.7162 MB / 388.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.139, allocations: 4 kB / 388.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.139, allocations: 192 / 388.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.139, allocations: 3.984 kB / 388.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.1395, allocations: 328.7 kB / 388.9 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1395, allocations: 4 kB / 388.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.1398, allocations: 59.89 kB / 389 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.1411, allocations: 325.3 kB / 389.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.1411, allocations: 8 kB / 389.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.1425, allocations: 1.366 MB / 390.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1425, allocations: 0 / 390.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.1453, allocations: 1.012 MB / 391.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.1453, allocations: 39.73 kB / 391.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.1454, allocations: 4 kB / 391.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.1458, allocations: 52 kB / 391.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.1459, allocations: 23.95 kB / 391.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.1459, allocations: 12 kB / 391.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1461, allocations: 191.1 kB / 392 MB, free: 2.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1461, allocations: 0 / 392 MB, free: 2.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004439/0.1466, allocations: 111.8 kB / 392.1 MB, free: 2.324 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.0001742/0.1468, allocations: 115.2 kB / 392.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.1481, allocations: 451.5 kB / 392.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1481, allocations: 0 / 392.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006548/0.1487, allocations: 239.8 kB / 392.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1491, allocations: 48.89 kB / 393 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1509, allocations: 0.8932 MB / 393.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1511, allocations: 191 kB / 394 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.1512, allocations: 26.98 kB / 394.1 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.1513, allocations: 28.48 kB / 394.1 MB, free: 308 kB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1513, allocations: 0 / 394.1 MB, free: 308 kB / 350.1 MB Notification: Performance of Templates: time 0.01094/0.1622, allocations: 4.974 MB / 399.1 MB, free: 11.38 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/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.569389166077599]