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.001495/0.001495, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002564/0.002564, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2641, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009774/0.274, allocations: 9.733 MB / 419 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.2795, allocations: 2.756 MB / 421.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008212/0.2803, allocations: 79.75 kB / 421.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008177/0.2886, allocations: 4.184 MB / 426 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002543/0.2911, allocations: 0.765 MB / 426.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.2932, allocations: 0.953 MB / 427.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004044/0.2972, allocations: 4.058 MB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.3096, allocations: 10.96 MB / 442.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.3125, allocations: 2.361 MB / 445.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.3157, allocations: 2.655 MB / 447.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009651/0.3167, allocations: 0.668 MB / 448.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.3184, allocations: 0.8904 MB / 449.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009318/0.3193, allocations: 1.247 MB / 450.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.3217, allocations: 2.549 MB / 453.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007912/0.3296, allocations: 8.906 MB / 462 MB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3297, allocations: 0 / 462 MB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3297, allocations: 0 / 462 MB, free: 12.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.3299, allocations: 4 kB / 462 MB, free: 12.55 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.01288/0.3427, allocations: 5.325 MB / 467.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.3428, allocations: 8.031 kB / 467.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008085/0.3509, allocations: 1.319 MB / 468.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/0.3553, allocations: 2.595 MB / 471.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.3555, allocations: 353.3 kB / 471.6 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007008/0.3562, allocations: 455.9 kB / 472.1 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.3692, allocations: 6.098 MB / 478.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.3694, allocations: 3.938 kB / 478.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007337/0.3702, allocations: 191.9 kB / 478.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002861/0.3705, allocations: 193.5 kB / 478.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.3863, allocations: 5.276 MB / 483.8 MB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/0.4258, allocations: 20.95 MB / 0.4929 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006145/0.432, allocations: 5.569 MB / 0.4984 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009195/0.433, allocations: 0.6628 MB / 0.499 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.4331, allocations: 187.1 kB / 0.4992 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4332, allocations: 47.55 kB / 0.4992 GB, free: 9.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.126e-06/0.4332, allocations: 0 / 0.4992 GB, free: 9.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.00214/0.4353, allocations: 1.42 MB / 0.5006 GB, free: 8.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.4354, allocations: 68.41 kB / 0.5007 GB, free: 8.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.4374, allocations: 1.465 MB / 0.5021 GB, free: 6.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.4375, allocations: 37.7 kB / 0.5022 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.4388, allocations: 1.967 MB / 0.5041 GB, free: 4.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.4391, allocations: 351.2 kB / 0.5044 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/0.4398, allocations: 467.6 kB / 0.5049 GB, free: 3.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4399, allocations: 361.9 kB / 0.5052 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.4411, allocations: 0.8124 MB / 0.506 GB, free: 2.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.443, allocations: 1.937 MB / 0.5079 GB, free: 116 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.446, allocations: 2.927 MB / 0.5107 GB, free: 12.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.446, allocations: 12 kB / 0.5108 GB, free: 12.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003873/0.4499, allocations: 2.786 MB / 0.5135 GB, free: 9.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.45, allocations: 24 kB / 0.5135 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/0.45, allocations: 40.12 kB / 0.5135 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-05/0.4501, allocations: 56 kB / 0.5136 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.4516, allocations: 0.5342 MB / 0.5141 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.795e-05/0.4517, allocations: 79.7 kB / 0.5142 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4529, allocations: 289.2 kB / 0.5145 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.453, allocations: 124 kB / 0.5146 GB, free: 8.699 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.002181/0.4552, allocations: 1.675 MB / 0.5162 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.4554, allocations: 130.4 kB / 0.5163 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.4574, allocations: 1.338 MB / 0.5177 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001166/0.4586, allocations: 0.9279 MB / 0.5186 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4586, allocations: 0 / 0.5186 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.4586, allocations: 7.969 kB / 0.5186 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.4735, allocations: 13.49 MB / 0.5317 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.4736, allocations: 20 kB / 0.5318 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.4743, allocations: 215.6 kB / 0.532 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-05/0.4743, allocations: 28 kB / 0.532 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/0.4744, allocations: 43.98 kB / 0.532 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-05/0.4745, allocations: 40.36 kB / 0.5321 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-05/0.4745, allocations: 31.88 kB / 0.5321 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.4775, allocations: 2.446 MB / 0.5345 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.478, allocations: 319.1 kB / 0.5348 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4782, allocations: 47.92 kB / 0.5348 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.4789, allocations: 75.94 kB / 0.5349 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.4791, allocations: 127.4 kB / 0.535 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.4792, allocations: 52 kB / 0.5351 GB, free: 2.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.4805, allocations: 0.9916 MB / 0.536 GB, free: 1.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4805, allocations: 0 / 0.536 GB, free: 1.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002767/0.4833, allocations: 0.9436 MB / 0.537 GB, free: 0.5 MB / 462.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.000369/0.4836, allocations: 202.8 kB / 0.5372 GB, free: 296 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2206/0.7043, allocations: 1.867 MB / 0.539 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.394e-05/0.7044, allocations: 6.625 kB / 0.539 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.7052, allocations: 0.571 MB / 0.5396 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.7076, allocations: 370.5 kB / 0.5399 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009704/0.7173, allocations: 6.847 MB / 0.5466 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.7196, allocations: 3.075 MB / 0.5496 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001632/0.7212, allocations: 0.8156 MB / 0.5504 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.7215, allocations: 112.8 kB / 0.5505 GB, free: 118.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.7215, allocations: 0 / 0.5505 GB, free: 118.1 MB / 462.1 MB Notification: Performance of Templates: time 0.02605/0.7475, allocations: 18.21 MB / 0.5683 GB, free: 102.5 MB / 462.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