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.001519/0.001519, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.001351, allocations: 213.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.1 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 65.59 kB / 307.1 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1079, allocations: 50.53 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01174/0.1197, allocations: 9.615 MB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005935/0.1257, allocations: 2.725 MB / 370 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.1273, allocations: 75.75 kB / 370.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1771/0.3044, allocations: 3.959 MB / 374.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.3072, allocations: 0.6672 MB / 374.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.3092, allocations: 0.8945 MB / 375.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.3135, allocations: 4.025 MB / 379.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.3276, allocations: 12.72 MB / 392.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.3309, allocations: 2.388 MB / 394.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.3347, allocations: 2.66 MB / 397.4 MB, free: 456 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.3358, allocations: 0.6641 MB / 398.1 MB, free: 412 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.3393, allocations: 1.031 MB / 399.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.3407, allocations: 1.243 MB / 400.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003514/0.3442, allocations: 2.557 MB / 402.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.3524, allocations: 7.777 MB / 410.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3524, allocations: 0 / 410.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.3524, allocations: 0 / 410.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001958/0.3526, allocations: 7.922 kB / 410.7 MB, free: 4.879 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.01456/0.3672, allocations: 5.325 MB / 416 MB, free: 15.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3672, allocations: 16.02 kB / 416 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008279/0.3755, allocations: 1.295 MB / 417.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00513/0.3807, allocations: 2.516 MB / 419.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/0.3811, allocations: 345.4 kB / 420.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.3824, allocations: 466.8 kB / 420.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.3961, allocations: 6.117 MB / 426.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.3963, allocations: 0 / 426.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005637/0.3968, allocations: 193.7 kB / 426.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.3971, allocations: 193.5 kB / 427.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.408, allocations: 5.3 MB / 432.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/0.4421, allocations: 21.25 MB / 453.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/0.4494, allocations: 5.623 MB / 459.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.4506, allocations: 0.6981 MB / 460 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.4509, allocations: 201.9 kB / 460.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.451, allocations: 43.56 kB / 460.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.946e-06/0.451, allocations: 0 / 460.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002596/0.4536, allocations: 1.553 MB / 461.8 MB, free: 264 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4536, allocations: 68.39 kB / 461.9 MB, free: 180 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.4558, allocations: 1.461 MB / 463.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/0.4559, allocations: 41.7 kB / 463.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.4573, allocations: 1.964 MB / 465.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.4577, allocations: 360.8 kB / 465.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/0.4584, allocations: 483.7 kB / 466.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4586, allocations: 353.9 kB / 466.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.4598, allocations: 0.8437 MB / 467.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.462, allocations: 1.984 MB / 469.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003681/0.4657, allocations: 3.006 MB / 472.3 MB, free: 4.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.4658, allocations: 15.94 kB / 472.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004623/0.4704, allocations: 2.875 MB / 475.2 MB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.4705, allocations: 23.94 kB / 475.2 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.472e-05/0.4705, allocations: 43.98 kB / 475.3 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.604e-05/0.4706, allocations: 52 kB / 475.3 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.4723, allocations: 0.5387 MB / 475.9 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.718e-05/0.4724, allocations: 83.72 kB / 476 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4737, allocations: 289.1 kB / 476.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.4739, allocations: 124 kB / 476.4 MB, free: 0.5156 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.00268/0.4766, allocations: 1.668 MB / 478 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.4769, allocations: 138.2 kB / 478.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.4793, allocations: 1.431 MB / 479.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001565/0.4809, allocations: 1.018 MB / 480.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4809, allocations: 0 / 480.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.4809, allocations: 3.984 kB / 480.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.4995, allocations: 13.54 MB / 494.2 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.4996, allocations: 20 kB / 494.2 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.5004, allocations: 215.6 kB / 494.4 MB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.838e-05/0.5004, allocations: 27.98 kB / 494.4 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.5005, allocations: 44 kB / 494.5 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-05/0.5005, allocations: 39.86 kB / 494.5 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-05/0.5006, allocations: 27.88 kB / 494.5 MB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.504, allocations: 2.598 MB / 497.1 MB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/0.5047, allocations: 323.2 kB / 497.4 MB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.5049, allocations: 47.97 kB / 497.5 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.5056, allocations: 59.95 kB / 497.5 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.5058, allocations: 131.5 kB / 497.7 MB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.5059, allocations: 63.92 kB / 497.7 MB, free: 9.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.5075, allocations: 0.9955 MB / 498.7 MB, free: 8.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5075, allocations: 0 / 498.7 MB, free: 8.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002923/0.5105, allocations: 0.932 MB / 499.7 MB, free: 7.961 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 (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.0004455/0.5109, allocations: 212.9 kB / 499.9 MB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.5143, allocations: 1.971 MB / 0.4901 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.5143, allocations: 3.938 kB / 0.4901 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5154, allocations: 0.6237 MB / 0.4907 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.5177, allocations: 380.4 kB / 0.4911 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.5314, allocations: 8.593 MB / 0.4994 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/0.5344, allocations: 2.988 MB / 0.5024 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.5349, allocations: 147.3 kB / 0.5025 GB, free: 8.746 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5349, allocations: 0 / 0.5025 GB, free: 8.746 MB / 430.1 MB Notification: Performance of Templates: time 0.2274/0.7623, allocations: 38.65 MB / 0.5403 GB, free: 130.2 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/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) Reference file matches