Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001277/0.001277, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001416/0.001416, allocations: 189.3 kB / 24.48 MB, free: 4.164 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.396/1.396, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 51.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.229, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01186/0.2408, allocations: 9.804 MB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.2466, allocations: 2.709 MB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.2483, allocations: 91.56 kB / 436.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009893/0.2582, allocations: 4.233 MB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.2616, allocations: 0.9476 MB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.2641, allocations: 0.8366 MB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005839/0.27, allocations: 4.089 MB / 446.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01313/0.2831, allocations: 7.114 MB / 453.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.2872, allocations: 2.412 MB / 456.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004672/0.2919, allocations: 2.659 MB / 458.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.2936, allocations: 0.6641 MB / 459.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.2963, allocations: 0.8786 MB / 460.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.2982, allocations: 1.239 MB / 461.6 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004516/0.3028, allocations: 2.56 MB / 464.1 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.3145, allocations: 8.905 MB / 473 MB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3145, allocations: 7.938 kB / 473 MB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3145, allocations: 0 / 473 MB, free: 13.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002648/0.3147, allocations: 0 / 473 MB, free: 13.28 MB / 382.1 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.01572/0.3305, allocations: 5.327 MB / 478.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3305, allocations: 8.031 kB / 478.4 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008616/0.3391, allocations: 1.321 MB / 479.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006616/0.3457, allocations: 2.598 MB / 482.3 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.3461, allocations: 353.3 kB / 482.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.3477, allocations: 452 kB / 483.1 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.3637, allocations: 6.098 MB / 489.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.3639, allocations: 7.938 kB / 489.2 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/0.365, allocations: 188 kB / 489.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.3652, allocations: 193.5 kB / 489.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.3777, allocations: 5.272 MB / 494.8 MB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.4164, allocations: 20.2 MB / 0.503 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.4218, allocations: 2.117 MB / 0.505 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.4229, allocations: 0.5922 MB / 0.5056 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.4231, allocations: 36.95 kB / 0.5056 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.4231, allocations: 47.5 kB / 0.5057 GB, free: 15.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 5.139e-06/0.4231, allocations: 3.984 kB / 0.5057 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002609/0.4257, allocations: 1.425 MB / 0.5071 GB, free: 14.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.4258, allocations: 68.41 kB / 0.5071 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.4285, allocations: 1.462 MB / 0.5086 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.4285, allocations: 41.7 kB / 0.5086 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/0.4303, allocations: 2.033 MB / 0.5106 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/0.4307, allocations: 365 kB / 0.5109 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007985/0.4315, allocations: 475.9 kB / 0.5114 GB, free: 9.844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4317, allocations: 357.9 kB / 0.5117 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4331, allocations: 0.8123 MB / 0.5125 GB, free: 8.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.4355, allocations: 1.945 MB / 0.5144 GB, free: 6.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.4395, allocations: 2.916 MB / 0.5173 GB, free: 2.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-05/0.4396, allocations: 12 kB / 0.5173 GB, free: 2.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004893/0.4444, allocations: 2.793 MB / 0.52 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.4445, allocations: 24.97 kB / 0.52 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/0.4446, allocations: 39.94 kB / 0.5201 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.93e-05/0.4446, allocations: 63.94 kB / 0.5201 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.4464, allocations: 0.5304 MB / 0.5207 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.65e-05/0.4465, allocations: 83.66 kB / 0.5207 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4479, allocations: 294 kB / 0.521 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.4481, allocations: 128 kB / 0.5211 GB, free: 14.74 MB / 446.1 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.00264/0.4508, allocations: 1.668 MB / 0.5228 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.4511, allocations: 135.1 kB / 0.5229 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.4535, allocations: 1.346 MB / 0.5242 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001452/0.4549, allocations: 0.9357 MB / 0.5251 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.455, allocations: 0 / 0.5251 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.455, allocations: 3.984 kB / 0.5251 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2384/0.6933, allocations: 11 MB / 0.5359 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-05/0.6934, allocations: 19.12 kB / 0.5359 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6945, allocations: 212.5 kB / 0.5361 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.131e-05/0.6945, allocations: 26.23 kB / 0.5361 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/0.6946, allocations: 44.69 kB / 0.5362 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-05/0.6947, allocations: 40.5 kB / 0.5362 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.499e-05/0.6947, allocations: 29.94 kB / 0.5362 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/0.698, allocations: 2.455 MB / 0.5386 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008243/0.6989, allocations: 257.1 kB / 0.5389 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.6991, allocations: 48.5 kB / 0.5389 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.6999, allocations: 62.67 kB / 0.539 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.7001, allocations: 135.5 kB / 0.5391 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.7001, allocations: 53.3 kB / 0.5392 GB, free: 100.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.7016, allocations: 0.9924 MB / 0.5401 GB, free: 100.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7016, allocations: 1.406 kB / 0.5401 GB, free: 100.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002651/0.7043, allocations: 0.9576 MB / 0.5411 GB, free: 100.1 MB / 446.1 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.0003436/0.7046, allocations: 200.1 kB / 0.5413 GB, free: 99.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.7069, allocations: 1.798 MB / 0.543 GB, free: 99.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.707, allocations: 2.375 kB / 0.543 GB, free: 99.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.7077, allocations: 0.5652 MB / 0.5436 GB, free: 99.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.7098, allocations: 382.2 kB / 0.5439 GB, free: 99.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009594/0.7194, allocations: 6.829 MB / 0.5506 GB, free: 95.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/0.7216, allocations: 2.993 MB / 0.5535 GB, free: 94.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.7221, allocations: 135.7 kB / 0.5537 GB, free: 94.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7221, allocations: 0 / 0.5537 GB, free: 94.06 MB / 446.1 MB Notification: Performance of Templates: time 0.0471/0.7692, allocations: 38.74 MB / 0.5915 GB, free: 57.49 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 10.151069774990901]