Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0007325/0.0007325, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.001951, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0007016/0.0007016, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001828, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9053/0.9053, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09551/1.001, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.402e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01606/0.01608, allocations: 9.263 MB / 254 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.02698, allocations: 2.879 MB / 256.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006108/0.02759, allocations: 91.56 kB / 256.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.03871, allocations: 4.452 MB / 261.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.04038, allocations: 0.7876 MB / 262.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.04479, allocations: 0.9371 MB / 263.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.04848, allocations: 4.263 MB / 267.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007423/0.0559, allocations: 7.15 MB / 274.5 MB, free: 160 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1109/0.1668, allocations: 3.692 MB / 278.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.1698, allocations: 2.605 MB / 280.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.1711, allocations: 0.6629 MB / 281.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.1726, allocations: 0.9014 MB / 282.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.1733, allocations: 1.001 MB / 283.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.1747, allocations: 1.448 MB / 284.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.1776, allocations: 4.19 MB / 289 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.1776, allocations: 3.75 kB / 289 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1776, allocations: 0 / 289 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001334/0.1778, allocations: 0 / 289 MB, free: 5.379 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.006302/0.1841, allocations: 6.133 MB / 295.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1841, allocations: 8.938 kB / 295.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.188, allocations: 1.743 MB / 296.9 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1896, allocations: 1.35 MB / 298.3 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1897, allocations: 349.2 kB / 298.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.1901, allocations: 459.4 kB / 299.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/0.1943, allocations: 3.104 MB / 302.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-05/0.1944, allocations: 3.938 kB / 302.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.1947, allocations: 194.5 kB / 302.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.1948, allocations: 189.5 kB / 302.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.1965, allocations: 1.142 MB / 303.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.2087, allocations: 13.27 MB / 317 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.2105, allocations: 1.341 MB / 318.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.2108, allocations: 250.7 kB / 318.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.2108, allocations: 45.94 kB / 318.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2109, allocations: 47.56 kB / 318.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.384e-06/0.2109, allocations: 0 / 318.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0005624/0.2114, allocations: 482.3 kB / 319.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2115, allocations: 68.41 kB / 319.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.2121, allocations: 1.03 MB / 320.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2121, allocations: 41.7 kB / 320.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009081/0.213, allocations: 1.946 MB / 322.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.2132, allocations: 355.3 kB / 322.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.2135, allocations: 453 kB / 323 MB, free: 9.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.2136, allocations: 354.8 kB / 323.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.2139, allocations: 307.4 kB / 323.6 MB, free: 9.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.2145, allocations: 1.328 MB / 324.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.2158, allocations: 1.94 MB / 326.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.2158, allocations: 12 kB / 326.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00147/0.2173, allocations: 1.395 MB / 328.3 MB, free: 3.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2173, allocations: 24 kB / 328.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.2173, allocations: 43.94 kB / 328.4 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/0.2174, allocations: 52 kB / 328.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/0.2183, allocations: 0.5789 MB / 329 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/0.2183, allocations: 82.72 kB / 329.1 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.2189, allocations: 270.2 kB / 329.3 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/0.219, allocations: 108 kB / 329.4 MB, free: 2.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004105/0.2194, allocations: 272.8 kB / 329.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2195, allocations: 107.9 kB / 329.8 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.2202, allocations: 0.6876 MB / 330.5 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002626/0.2204, allocations: 296.5 kB / 330.8 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2204, allocations: 4 kB / 330.8 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2205, allocations: 3.984 kB / 330.8 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.2243, allocations: 3.448 MB / 334.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.2243, allocations: 19.94 kB / 334.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.2246, allocations: 217.7 kB / 334.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.2248, allocations: 181.7 kB / 334.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.2248, allocations: 31.98 kB / 334.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.2249, allocations: 44 kB / 334.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.2249, allocations: 35.2 kB / 334.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.2249, allocations: 27.22 kB / 334.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2261, allocations: 1.411 MB / 336.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.2261, allocations: 47.92 kB / 336.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.2264, allocations: 36 kB / 336.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.2265, allocations: 129.6 kB / 336.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.2266, allocations: 47.98 kB / 336.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.2269, allocations: 439.7 kB / 336.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2269, allocations: 0 / 336.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001457/0.2283, allocations: 0.9531 MB / 337.8 MB, free: 10.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.2286, allocations: 192.9 kB / 338 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008019/0.2294, allocations: 0.9807 MB / 339 MB, free: 9.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.579e-05/0.2294, allocations: 35.84 kB / 339 MB, free: 9.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.2305, allocations: 1.036 MB / 340.1 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.2325, allocations: 2.787 MB / 342.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/0.2513, allocations: 6.251 MB / 349.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.252, allocations: 0.8246 MB / 349.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005071/0.2525, allocations: 233.4 kB / 350.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.2529, allocations: 349.1 kB / 350.5 MB, free: 13 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2529, allocations: 0 / 350.5 MB, free: 13 MB / 330.7 MB Notification: Performance of Templates: time 0.03112/0.2841, allocations: 17.46 MB / 368 MB, free: 11.78 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.961690066382289]