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.0007225/0.0007225, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000876/0.000876, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002235, allocations: 8 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08565, allocations: 51.52 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008415/0.0941, allocations: 8.973 MB / 368.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.09818, allocations: 2.709 MB / 370.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.09873, allocations: 71.81 kB / 371 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.09969, allocations: 0.5872 MB / 371.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.1013, allocations: 0.6686 MB / 372.3 MB, free: 260 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1556/0.2569, allocations: 0.8802 MB / 373.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.2618, allocations: 3.851 MB / 377 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01679/0.2786, allocations: 11.11 MB / 388.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.2818, allocations: 1.635 MB / 389.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.2851, allocations: 1.934 MB / 391.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006009/0.2857, allocations: 274.8 kB / 392 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2872, allocations: 0.4984 MB / 392.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006017/0.2878, allocations: 0.7398 MB / 393.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.2897, allocations: 2.02 MB / 395.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006588/0.2963, allocations: 8.364 MB / 403.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2963, allocations: 4 kB / 403.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2964, allocations: 0 / 403.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.2965, allocations: 0 / 403.6 MB, free: 12.43 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.0108/0.3073, allocations: 4.355 MB / 407.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3074, allocations: 8.031 kB / 407.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00832/0.3157, allocations: 1.326 MB / 409.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.3201, allocations: 2.51 MB / 411.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.3203, allocations: 348.8 kB / 412.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.3214, allocations: 451.9 kB / 412.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.3345, allocations: 6.119 MB / 418.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.3347, allocations: 4 kB / 418.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.3352, allocations: 191.1 kB / 418.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002037/0.3355, allocations: 197.5 kB / 419.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3461, allocations: 5.292 MB / 424.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.3773, allocations: 21.3 MB / 445.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00634/0.3836, allocations: 5.604 MB / 451.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.3848, allocations: 0.702 MB / 452 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.385, allocations: 190.4 kB / 452.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.385, allocations: 47.5 kB / 452.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.096e-06/0.385, allocations: 0 / 452.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002423/0.3875, allocations: 1.549 MB / 453.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3875, allocations: 68.34 kB / 453.8 MB, free: 8.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.3896, allocations: 1.457 MB / 455.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.3897, allocations: 41.7 kB / 455.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.3909, allocations: 1.96 MB / 457.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.3912, allocations: 369 kB / 457.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.3915, allocations: 190.1 kB / 457.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3917, allocations: 353.9 kB / 458.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3929, allocations: 0.8437 MB / 459 MB, free: 3.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.3949, allocations: 1.98 MB / 461 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.3983, allocations: 3 MB / 464 MB, free: 13.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.3983, allocations: 12 kB / 464 MB, free: 13.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004187/0.4025, allocations: 2.868 MB / 466.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.4025, allocations: 27.94 kB / 466.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/0.4026, allocations: 43.98 kB / 466.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.43e-05/0.4027, allocations: 56.03 kB / 467 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.4043, allocations: 0.5342 MB / 467.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.352e-05/0.4044, allocations: 87.7 kB / 467.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.4059, allocations: 293 kB / 467.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.4061, allocations: 124 kB / 468 MB, free: 9.316 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00291/0.409, allocations: 1.672 MB / 469.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.4092, allocations: 130.3 kB / 469.8 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.4115, allocations: 1.424 MB / 471.2 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001465/0.413, allocations: 1.006 MB / 472.2 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.413, allocations: 4 kB / 472.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.413, allocations: 3.984 kB / 472.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.4295, allocations: 13.53 MB / 485.8 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/0.4295, allocations: 20 kB / 485.8 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.4303, allocations: 219.7 kB / 486 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-05/0.4303, allocations: 24 kB / 486 MB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.4304, allocations: 47.98 kB / 486.1 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.692e-05/0.4304, allocations: 35.86 kB / 486.1 MB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/0.4304, allocations: 27.88 kB / 486.1 MB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.4336, allocations: 2.579 MB / 488.7 MB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/0.4342, allocations: 343 kB / 489.1 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.4343, allocations: 47.92 kB / 489.1 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.435, allocations: 63.94 kB / 489.2 MB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.4352, allocations: 131.5 kB / 489.3 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/0.4353, allocations: 55.94 kB / 489.3 MB, free: 2.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.4367, allocations: 0.9916 MB / 490.3 MB, free: 1.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4367, allocations: 0 / 490.3 MB, free: 1.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002781/0.4395, allocations: 0.9399 MB / 491.3 MB, free: 0.793 MB / 398.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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000396/0.4399, allocations: 208.2 kB / 491.5 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.4427, allocations: 1.915 MB / 493.4 MB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.4427, allocations: 4.438 kB / 493.4 MB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.4435, allocations: 0.6156 MB / 494 MB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/0.4486, allocations: 387.8 kB / 494.4 MB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.461, allocations: 8.782 MB / 0.4914 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/0.4639, allocations: 3.075 MB / 0.4944 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002013/0.4659, allocations: 0.8093 MB / 0.4952 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.4662, allocations: 111.4 kB / 0.4953 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4662, allocations: 0 / 0.4953 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of Templates: time 0.03376/0.5, allocations: 17.46 MB / 0.5123 GB, free: 15.28 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.0.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