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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 66.3 kB / 307 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.111, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01133/0.1224, allocations: 9.728 MB / 367.3 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.1272, allocations: 2.756 MB / 370 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/0.1279, allocations: 75.81 kB / 370.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1595/0.2874, allocations: 4.179 MB / 374.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.2908, allocations: 0.7604 MB / 375 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.2927, allocations: 0.9648 MB / 376 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.2967, allocations: 4.027 MB / 380 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0126/0.3093, allocations: 11 MB / 391 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.3126, allocations: 2.354 MB / 393.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003688/0.3163, allocations: 2.647 MB / 396 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.3178, allocations: 0.6641 MB / 396.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.3197, allocations: 0.9045 MB / 397.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.3217, allocations: 1.355 MB / 398.9 MB, free: 0 / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003648/0.3254, allocations: 2.561 MB / 401.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008533/0.3339, allocations: 8.849 MB / 410.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.334, allocations: 0 / 410.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.334, allocations: 0 / 410.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001552/0.3341, allocations: 0 / 410.4 MB, free: 5.379 MB / 318.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.01275/0.3469, allocations: 5.316 MB / 415.7 MB, free: 32 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.347, allocations: 12.02 kB / 415.7 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007863/0.3548, allocations: 1.294 MB / 417 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.3599, allocations: 2.51 MB / 419.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.3602, allocations: 348.3 kB / 419.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.3615, allocations: 463.8 kB / 420.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.3751, allocations: 6.103 MB / 426.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.3753, allocations: 3.984 kB / 426.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007996/0.3761, allocations: 191.7 kB / 426.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.3763, allocations: 193.5 kB / 426.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.3874, allocations: 5.279 MB / 432 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03434/0.4218, allocations: 21.23 MB / 453.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/0.4292, allocations: 5.585 MB / 458.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4304, allocations: 0.6668 MB / 459.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.4306, allocations: 198.9 kB / 459.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.4307, allocations: 43.56 kB / 459.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.847e-06/0.4307, allocations: 0 / 459.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.00254/0.4333, allocations: 1.432 MB / 461.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4333, allocations: 64.41 kB / 461.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.436, allocations: 1.461 MB / 462.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.4361, allocations: 41.7 kB / 462.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.4378, allocations: 1.963 MB / 464.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.4382, allocations: 344.8 kB / 465.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007252/0.4389, allocations: 483.5 kB / 465.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.4391, allocations: 353.9 kB / 465.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.4404, allocations: 0.8162 MB / 466.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.4428, allocations: 1.94 MB / 468.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.4466, allocations: 2.927 MB / 471.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-05/0.4466, allocations: 15.94 kB / 471.6 MB, free: 5.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004663/0.4513, allocations: 2.789 MB / 474.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.4513, allocations: 20 kB / 474.4 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-05/0.4514, allocations: 40 kB / 474.4 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.378e-05/0.4515, allocations: 56 kB / 474.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.4532, allocations: 0.5381 MB / 475 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.242e-05/0.4533, allocations: 79.66 kB / 475.1 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4548, allocations: 297.3 kB / 475.4 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.455, allocations: 124 kB / 475.5 MB, free: 1.535 MB / 382.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.002686/0.4577, allocations: 1.668 MB / 477.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.458, allocations: 126.4 kB / 477.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.4603, allocations: 1.338 MB / 478.6 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001475/0.4618, allocations: 0.9357 MB / 479.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.4618, allocations: 4 kB / 479.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4619, allocations: 7.969 kB / 479.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.4807, allocations: 13.5 MB / 493.1 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.4808, allocations: 20 kB / 493.1 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.4815, allocations: 211.6 kB / 493.3 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.979e-05/0.4816, allocations: 28.06 kB / 493.3 MB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.4817, allocations: 51.98 kB / 493.4 MB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.312e-05/0.4817, allocations: 39.8 kB / 493.4 MB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-05/0.4818, allocations: 39.75 kB / 493.5 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.4851, allocations: 2.454 MB / 495.9 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/0.4857, allocations: 315.2 kB / 496.2 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.486, allocations: 47.98 kB / 496.3 MB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/0.4868, allocations: 59.89 kB / 496.3 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.487, allocations: 131.5 kB / 496.5 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.4871, allocations: 55.98 kB / 496.5 MB, free: 11.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001658/0.4887, allocations: 0.9877 MB / 497.5 MB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.4887, allocations: 0 / 497.5 MB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002874/0.4916, allocations: 0.9475 MB / 498.5 MB, free: 9.332 MB / 414.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.0004237/0.4921, allocations: 203.9 kB / 498.7 MB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.4956, allocations: 1.881 MB / 0.4888 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.189e-05/0.4956, allocations: 4 kB / 0.4888 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.4968, allocations: 0.5824 MB / 0.4894 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.4996, allocations: 380.4 kB / 0.4897 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.5134, allocations: 6.891 MB / 0.4965 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004403/0.5179, allocations: 3.067 MB / 0.4995 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002175/0.5201, allocations: 0.8131 MB / 0.5003 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.5204, allocations: 127.4 kB / 0.5004 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5205, allocations: 0 / 0.5004 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Templates: time 0.0378/0.5583, allocations: 17.22 MB / 0.5172 GB, free: 10.01 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches