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.001773/0.001773, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.002001/0.002001, allocations: 156.9 kB / 24.48 MB, free: 3.461 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.435/1.435, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.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.001512/0.001512, allocations: 46.36 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08225, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01077/0.09302, allocations: 8.507 MB / 380.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.0979, allocations: 2.589 MB / 382.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006294/0.09853, allocations: 91.56 kB / 382.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009281/0.1078, allocations: 4.118 MB / 386.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.1102, allocations: 0.9204 MB / 387.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.112, allocations: 0.7942 MB / 388.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.1164, allocations: 4.096 MB / 392.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009146/0.1255, allocations: 7.039 MB / 399.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.1282, allocations: 2.412 MB / 402.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003267/0.1315, allocations: 2.55 MB / 404.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000812/0.1323, allocations: 0.6679 MB / 405.4 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1337, allocations: 0.867 MB / 406.2 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.1348, allocations: 1.247 MB / 407.5 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.1369, allocations: 1.985 MB / 409.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008281/0.1451, allocations: 8.948 MB / 418.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1451, allocations: 0 / 418.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1451, allocations: 4 kB / 418.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.1452, allocations: 3.938 kB / 418.4 MB, free: 8.23 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.01185/0.1571, allocations: 5.327 MB / 423.7 MB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1571, allocations: 8.031 kB / 423.8 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007662/0.1648, allocations: 1.313 MB / 425.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.1693, allocations: 2.606 MB / 427.7 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.1696, allocations: 349.3 kB / 428 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006749/0.1703, allocations: 451.9 kB / 428.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.1807, allocations: 6.115 MB / 434.6 MB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.383e-05/0.1808, allocations: 7.938 kB / 434.6 MB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/0.1812, allocations: 196 kB / 434.8 MB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.1814, allocations: 197.5 kB / 435 MB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008639/0.1901, allocations: 5.253 MB / 440.2 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.215, allocations: 17.76 MB / 458 MB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/0.2203, allocations: 2.07 MB / 460 MB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009916/0.2213, allocations: 0.6001 MB / 460.6 MB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.88e-05/0.2213, allocations: 28.91 kB / 460.7 MB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.2214, allocations: 51.56 kB / 460.7 MB, free: 13.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.845e-06/0.2214, allocations: 0 / 460.7 MB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002242/0.2236, allocations: 1.425 MB / 462.2 MB, free: 11.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2237, allocations: 60.41 kB / 462.2 MB, free: 11.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.2256, allocations: 1.531 MB / 463.7 MB, free: 10.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.2257, allocations: 41.7 kB / 463.8 MB, free: 10.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.2271, allocations: 2.045 MB / 465.8 MB, free: 8.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.2274, allocations: 361.1 kB / 466.2 MB, free: 7.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006269/0.228, allocations: 471.9 kB / 466.6 MB, free: 7.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2282, allocations: 357.9 kB / 467 MB, free: 6.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.2294, allocations: 0.8085 MB / 467.8 MB, free: 6.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.2316, allocations: 1.945 MB / 469.7 MB, free: 3.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.2351, allocations: 2.923 MB / 472.7 MB, free: 80 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.2351, allocations: 16 kB / 472.7 MB, free: 64 kB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.1667/0.4018, allocations: 2.785 MB / 475.5 MB, free: 85.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.4018, allocations: 21.94 kB / 475.5 MB, free: 85.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.277e-05/0.4019, allocations: 39.03 kB / 475.5 MB, free: 85.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-05/0.4019, allocations: 54.33 kB / 475.6 MB, free: 85.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.4034, allocations: 0.5367 MB / 476.1 MB, free: 85.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.043e-05/0.4035, allocations: 82.61 kB / 476.2 MB, free: 85.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.4046, allocations: 298.5 kB / 476.5 MB, free: 85.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4048, allocations: 122.7 kB / 476.6 MB, free: 85.07 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.002125/0.4069, allocations: 1.669 MB / 478.3 MB, free: 84.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4071, allocations: 137.3 kB / 478.4 MB, free: 84.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.4089, allocations: 1.342 MB / 479.8 MB, free: 84.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001159/0.4101, allocations: 0.9294 MB / 480.7 MB, free: 83.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4101, allocations: 5.219 kB / 480.7 MB, free: 83.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4101, allocations: 7.516 kB / 480.7 MB, free: 83.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.4202, allocations: 10.08 MB / 490.8 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.4203, allocations: 19.47 kB / 490.8 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.4209, allocations: 213.6 kB / 491 MB, free: 79.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.4209, allocations: 25.09 kB / 491 MB, free: 79.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.4209, allocations: 44.69 kB / 491.1 MB, free: 79.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.611e-05/0.421, allocations: 37.62 kB / 491.1 MB, free: 79.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.421, allocations: 33.22 kB / 491.1 MB, free: 79.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.4229, allocations: 2.456 MB / 493.6 MB, free: 78.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.4232, allocations: 252.8 kB / 493.8 MB, free: 78.24 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4234, allocations: 49.45 kB / 493.9 MB, free: 78.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.424, allocations: 63.53 kB / 493.9 MB, free: 78.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4242, allocations: 132.4 kB / 494.1 MB, free: 78.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.4242, allocations: 54.53 kB / 494.1 MB, free: 78.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008822/0.4251, allocations: 0.9878 MB / 495.1 MB, free: 77.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4251, allocations: 0 / 495.1 MB, free: 77.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002003/0.4271, allocations: 0.9636 MB / 496.1 MB, free: 76.58 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.0002256/0.4273, allocations: 206.5 kB / 496.3 MB, free: 76.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.4291, allocations: 1.792 MB / 498.1 MB, free: 74.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.4291, allocations: 0 / 498.1 MB, free: 74.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.4297, allocations: 0.5576 MB / 498.6 MB, free: 74.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.4315, allocations: 387.6 kB / 499 MB, free: 73.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/0.4386, allocations: 6.946 MB / 0.4941 GB, free: 66.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.4405, allocations: 2.525 MB / 0.4966 GB, free: 63.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.442, allocations: 0.823 MB / 0.4974 GB, free: 63.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.4422, allocations: 112.5 kB / 0.4975 GB, free: 63.02 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4422, allocations: 0 / 0.4975 GB, free: 63.02 MB / 430.1 MB Notification: Performance of Templates: time 0.02501/0.4672, allocations: 16.89 MB / 0.514 GB, free: 46.41 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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: 5.083924271981232]