Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001627/0.001627, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001989/0.001989, allocations: 160.2 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.45/1.45, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 66.17 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09657, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01069/0.1073, allocations: 8.516 MB / 387.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.1127, allocations: 2.643 MB / 390.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009991/0.1137, allocations: 95.5 kB / 390.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00921/0.1229, allocations: 4.114 MB / 394.3 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.1257, allocations: 0.7765 MB / 395.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.1279, allocations: 0.9305 MB / 396 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004666/0.1326, allocations: 4.089 MB / 400.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00947/0.1421, allocations: 7.047 MB / 407.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.1453, allocations: 2.416 MB / 409.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.1493, allocations: 2.55 MB / 412.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.1504, allocations: 0.6602 MB / 412.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.1522, allocations: 0.8825 MB / 413.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1534, allocations: 1.247 MB / 414.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002441/0.1558, allocations: 1.985 MB / 416.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.1663, allocations: 8.968 MB / 425.8 MB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1663, allocations: 3.938 kB / 425.8 MB, free: 304 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1663, allocations: 0 / 425.8 MB, free: 304 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002671/0.1665, allocations: 0 / 425.8 MB, free: 304 kB / 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.0137/0.1802, allocations: 5.339 MB / 431.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1803, allocations: 11.98 kB / 431.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007911/0.1882, allocations: 1.317 MB / 432.5 MB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/0.1941, allocations: 2.598 MB / 435.1 MB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.1944, allocations: 357.3 kB / 435.5 MB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009392/0.1953, allocations: 459.9 kB / 435.9 MB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.2066, allocations: 6.127 MB / 442 MB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.66e-05/0.2067, allocations: 3.984 kB / 442 MB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004286/0.2071, allocations: 192 kB / 442.2 MB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.2073, allocations: 197.5 kB / 442.4 MB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009695/0.217, allocations: 5.272 MB / 447.7 MB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02919/0.2462, allocations: 17.77 MB / 465.5 MB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/0.2512, allocations: 2.074 MB / 467.5 MB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000931/0.2521, allocations: 0.5923 MB / 468.1 MB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.2523, allocations: 44.91 kB / 468.2 MB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2523, allocations: 39.56 kB / 468.2 MB, free: 5.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.806e-06/0.2523, allocations: 0 / 468.2 MB, free: 5.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002218/0.2545, allocations: 1.44 MB / 469.6 MB, free: 3.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.2546, allocations: 64.34 kB / 469.7 MB, free: 3.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.2565, allocations: 1.527 MB / 471.2 MB, free: 2.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.2566, allocations: 41.69 kB / 471.3 MB, free: 2.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.2579, allocations: 2.049 MB / 473.3 MB, free: 36 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2046/0.4625, allocations: 353.1 kB / 473.7 MB, free: 80.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009432/0.4635, allocations: 479.3 kB / 474.1 MB, free: 80.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4636, allocations: 353.8 kB / 474.5 MB, free: 80.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.465, allocations: 0.8097 MB / 475.3 MB, free: 80.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.4668, allocations: 1.942 MB / 477.2 MB, free: 78.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.4697, allocations: 2.933 MB / 480.2 MB, free: 76.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.358e-05/0.4697, allocations: 10.69 kB / 480.2 MB, free: 76.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004554/0.4743, allocations: 2.804 MB / 483 MB, free: 75.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.4743, allocations: 22.22 kB / 483 MB, free: 75.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-05/0.4744, allocations: 42.75 kB / 483 MB, free: 75.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.57e-05/0.4744, allocations: 54.52 kB / 483.1 MB, free: 75.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4761, allocations: 0.5392 MB / 483.6 MB, free: 75.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.4762, allocations: 80.78 kB / 483.7 MB, free: 75.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.4778, allocations: 301 kB / 484 MB, free: 75.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.478, allocations: 131.3 kB / 484.1 MB, free: 75.65 MB / 430.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.002795/0.4808, allocations: 1.66 MB / 485.8 MB, free: 74.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.4811, allocations: 135.4 kB / 485.9 MB, free: 74.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.4831, allocations: 1.342 MB / 487.3 MB, free: 74.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001357/0.4845, allocations: 0.9414 MB / 488.2 MB, free: 73.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.4845, allocations: 1.25 kB / 488.2 MB, free: 73.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.4845, allocations: 3.609 kB / 488.2 MB, free: 73.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.4958, allocations: 10.18 MB / 498.4 MB, free: 70.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.4958, allocations: 20.94 kB / 498.4 MB, free: 69.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.4964, allocations: 225.6 kB / 498.6 MB, free: 69.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.999e-05/0.4964, allocations: 28 kB / 498.7 MB, free: 69.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.4965, allocations: 47.98 kB / 498.7 MB, free: 69.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-05/0.4965, allocations: 38.3 kB / 498.8 MB, free: 69.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/0.4965, allocations: 27.88 kB / 498.8 MB, free: 69.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.4987, allocations: 2.463 MB / 0.4895 GB, free: 66.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.4992, allocations: 250.8 kB / 0.4897 GB, free: 66.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.4993, allocations: 47.98 kB / 0.4898 GB, free: 66.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.5, allocations: 64.02 kB / 0.4898 GB, free: 66.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5001, allocations: 135.4 kB / 0.49 GB, free: 66.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.5002, allocations: 52 kB / 0.49 GB, free: 66.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009736/0.5011, allocations: 0.9875 MB / 0.491 GB, free: 65.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5011, allocations: 0 / 0.491 GB, free: 65.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002539/0.5037, allocations: 0.953 MB / 0.4919 GB, free: 64.39 MB / 430.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.0002732/0.504, allocations: 199.8 kB / 0.4921 GB, free: 64.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.506, allocations: 1.804 MB / 0.4939 GB, free: 62.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.506, allocations: 4 kB / 0.4939 GB, free: 62.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.5066, allocations: 0.5651 MB / 0.4944 GB, free: 61.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.5084, allocations: 385.5 kB / 0.4948 GB, free: 61.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.5163, allocations: 6.909 MB / 0.5015 GB, free: 54.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.5182, allocations: 2.53 MB / 0.504 GB, free: 51.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001456/0.5197, allocations: 0.8179 MB / 0.5048 GB, free: 50.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5199, allocations: 124.5 kB / 0.5049 GB, free: 50.79 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5199, allocations: 0 / 0.5049 GB, free: 50.79 MB / 430.1 MB Notification: Performance of Templates: time 0.02641/0.5463, allocations: 16.98 MB / 0.5215 GB, free: 34.04 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.081273618969135]