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.001517/0.001517, allocations: 117.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.5 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 67.52 kB / 306.5 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08906, allocations: 50.55 MB / 357 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0109/0.1, allocations: 9.603 MB / 366.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004833/0.1049, allocations: 2.717 MB / 369.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.1054, allocations: 75.81 kB / 369.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1586/0.2641, allocations: 3.966 MB / 373.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.2671, allocations: 0.6765 MB / 374.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.269, allocations: 0.8907 MB / 375 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004495/0.2735, allocations: 4.022 MB / 379 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01725/0.2907, allocations: 12.72 MB / 391.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003443/0.2942, allocations: 2.392 MB / 394.1 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00387/0.2981, allocations: 2.663 MB / 396.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.2999, allocations: 0.6651 MB / 397.4 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.3041, allocations: 1.016 MB / 398.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.3061, allocations: 1.249 MB / 399.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005015/0.3111, allocations: 2.554 MB / 402.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.3213, allocations: 8.864 MB / 411.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.3213, allocations: 4 kB / 411.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3214, allocations: 0 / 411.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001866/0.3216, allocations: 0 / 411.1 MB, free: 3.801 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.01458/0.3361, allocations: 5.327 MB / 416.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3362, allocations: 12.03 kB / 416.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008237/0.3444, allocations: 1.289 MB / 417.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/0.35, allocations: 2.513 MB / 420.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004435/0.3505, allocations: 351.6 kB / 420.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.3522, allocations: 462 kB / 421.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.3683, allocations: 6.121 MB / 427.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.3685, allocations: 4 kB / 427.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.3695, allocations: 186 kB / 427.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.3697, allocations: 201.5 kB / 427.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.3804, allocations: 5.303 MB / 432.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03336/0.4138, allocations: 21.25 MB / 454.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/0.4209, allocations: 5.619 MB / 459.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4221, allocations: 0.7058 MB / 460.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.4223, allocations: 197.9 kB / 460.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.4224, allocations: 51.55 kB / 460.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.246e-06/0.4224, allocations: 0 / 460.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002601/0.425, allocations: 1.553 MB / 462.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.425, allocations: 68.34 kB / 462.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4272, allocations: 1.461 MB / 463.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.4273, allocations: 41.7 kB / 463.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.4288, allocations: 1.961 MB / 465.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.4291, allocations: 360.7 kB / 466.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006503/0.4298, allocations: 487.7 kB / 466.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.43, allocations: 353.9 kB / 466.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.4312, allocations: 0.8476 MB / 467.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.4335, allocations: 1.972 MB / 469.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/0.4372, allocations: 3.017 MB / 472.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.4372, allocations: 12 kB / 472.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004376/0.4416, allocations: 2.875 MB / 475.7 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.4417, allocations: 23.94 kB / 475.7 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/0.4417, allocations: 40 kB / 475.7 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-05/0.4418, allocations: 52 kB / 475.8 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.4434, allocations: 0.5381 MB / 476.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.669e-05/0.4435, allocations: 79.72 kB / 476.4 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4448, allocations: 293.3 kB / 476.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.4449, allocations: 128 kB / 476.8 MB, free: 15.43 MB / 398.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.002619/0.4476, allocations: 1.668 MB / 478.5 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.4478, allocations: 134.2 kB / 478.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.4502, allocations: 1.42 MB / 480 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001516/0.4517, allocations: 1.014 MB / 481 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4517, allocations: 4 kB / 481 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.4517, allocations: 7.969 kB / 481.1 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.4694, allocations: 13.54 MB / 494.6 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.181e-05/0.4695, allocations: 20 kB / 494.6 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.4703, allocations: 215.7 kB / 494.8 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-05/0.4704, allocations: 32 kB / 494.8 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.4705, allocations: 43.98 kB / 494.9 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.564e-05/0.4705, allocations: 47.8 kB / 494.9 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-05/0.4705, allocations: 27.88 kB / 495 MB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.4743, allocations: 2.603 MB / 497.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.4749, allocations: 319.2 kB / 497.9 MB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.4751, allocations: 51.98 kB / 497.9 MB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.4758, allocations: 55.95 kB / 498 MB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.476, allocations: 135.5 kB / 498.1 MB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.4761, allocations: 63.92 kB / 498.2 MB, free: 8.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.4775, allocations: 0.9877 MB / 499.2 MB, free: 7.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4775, allocations: 0 / 499.2 MB, free: 7.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002708/0.4803, allocations: 0.9437 MB / 0.4884 GB, free: 6.867 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.0003701/0.4806, allocations: 205.5 kB / 0.4886 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.4838, allocations: 1.975 MB / 0.4905 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4839, allocations: 0 / 0.4905 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009295/0.4848, allocations: 0.6264 MB / 0.4911 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.487, allocations: 386.7 kB / 0.4915 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5002, allocations: 8.7 MB / 0.5 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003222/0.5035, allocations: 3.075 MB / 0.503 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00209/0.5056, allocations: 0.8094 MB / 0.5038 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.5058, allocations: 115.4 kB / 0.5039 GB, free: 6.672 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5059, allocations: 0 / 0.5039 GB, free: 6.672 MB / 430.1 MB Notification: Performance of Templates: time 0.03545/0.5413, allocations: 17.84 MB / 0.5213 GB, free: 5.012 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