Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001573, allocations: 101 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 191.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 55.94 kB / 280.7 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08567, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01064/0.09635, allocations: 10.08 MB / 337.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.1023, allocations: 2.804 MB / 340.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.1034, allocations: 63.81 kB / 340.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008711/0.1121, allocations: 4.197 MB / 344.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.1159, allocations: 1.057 MB / 345.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.118, allocations: 0.822 MB / 346.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.1221, allocations: 4.261 MB / 350.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.1339, allocations: 11.04 MB / 361.6 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.1368, allocations: 2.451 MB / 364.1 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.1402, allocations: 2.791 MB / 366.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.1414, allocations: 0.6797 MB / 367.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.143, allocations: 0.8904 MB / 368.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009919/0.1441, allocations: 1.313 MB / 369.7 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.1473, allocations: 2.665 MB / 372.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1579/0.3051, allocations: 9.019 MB / 381.4 MB, free: 30.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.3052, allocations: 0.875 kB / 381.4 MB, free: 30.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3052, allocations: 0 / 381.4 MB, free: 30.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002212/0.3054, allocations: 1 kB / 381.4 MB, free: 30.49 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01321/0.3186, allocations: 5.576 MB / 387 MB, free: 29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3187, allocations: 9.312 kB / 387 MB, free: 29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.3318, allocations: 2.387 MB / 389.4 MB, free: 28.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005722/0.3375, allocations: 2.372 MB / 391.8 MB, free: 28.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.3378, allocations: 368.7 kB / 392.1 MB, free: 28.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/0.3392, allocations: 486 kB / 392.6 MB, free: 28.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.3544, allocations: 6.638 MB / 399.2 MB, free: 24.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.3546, allocations: 7.297 kB / 399.2 MB, free: 24.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009448/0.3555, allocations: 199.9 kB / 399.4 MB, free: 24.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.3557, allocations: 230.7 kB / 399.7 MB, free: 24.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.3665, allocations: 6.114 MB / 405.8 MB, free: 21.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/0.3947, allocations: 22.63 MB / 428.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.405, allocations: 10.78 MB / 439.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.4063, allocations: 0.8248 MB / 440 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005/0.4113, allocations: 3.393 MB / 443.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4114, allocations: 30.56 kB / 443.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.4114, allocations: 0 / 443.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005555/0.412, allocations: 235 kB / 443.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.412, allocations: 55.41 kB / 443.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.4151, allocations: 2.137 MB / 445.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.4151, allocations: 29.7 kB / 445.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.4165, allocations: 2.382 MB / 448.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.4166, allocations: 75.59 kB / 448.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006823/0.4173, allocations: 0.5466 MB / 448.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4175, allocations: 353.9 kB / 449.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.4185, allocations: 0.82 MB / 450.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4204, allocations: 2.24 MB / 452.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.4233, allocations: 2.962 MB / 455.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/0.4233, allocations: 16 kB / 455.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004368/0.4277, allocations: 3.008 MB / 458.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4277, allocations: 28 kB / 458.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.834e-05/0.4278, allocations: 52 kB / 458.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.369e-05/0.4279, allocations: 64 kB / 458.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.4295, allocations: 0.57 MB / 459 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001385/0.4297, allocations: 101.5 kB / 459.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.4317, allocations: 404.6 kB / 459.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.4318, allocations: 145.4 kB / 459.6 MB, free: 13.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.002504/0.4343, allocations: 1.733 MB / 461.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.4346, allocations: 130.3 kB / 461.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.4351, allocations: 242.2 kB / 461.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/0.4353, allocations: 97.14 kB / 461.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4353, allocations: 0 / 461.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4353, allocations: 3.938 kB / 461.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.4401, allocations: 3.044 MB / 464.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4401, allocations: 0 / 464.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.4402, allocations: 16 kB / 464.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4402, allocations: 3.938 kB / 464.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4402, allocations: 0 / 464.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4403, allocations: 15.34 kB / 464.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4403, allocations: 1.641 kB / 464.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.4407, allocations: 362.4 kB / 465.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.4411, allocations: 219.5 kB / 465.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.4412, allocations: 3.938 kB / 465.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.4417, allocations: 31.95 kB / 465.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.4418, allocations: 8.062 kB / 465.5 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4418, allocations: 3.984 kB / 465.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001739/0.4435, allocations: 1.403 MB / 466.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4436, allocations: 0 / 466.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00235/0.4459, allocations: 0.9863 MB / 467.9 MB, free: 4.973 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002327/0.4462, allocations: 146.8 kB / 468.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4481, allocations: 1.462 MB / 469.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4481, allocations: 4 kB / 469.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.4482, allocations: 39.64 kB / 469.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.4497, allocations: 327.5 kB / 469.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/0.4593, allocations: 6.17 MB / 476 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/0.4627, allocations: 3.132 MB / 479.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001996/0.4647, allocations: 0.7944 MB / 480 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.465, allocations: 99.42 kB / 480.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.465, allocations: 0 / 480.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of Templates: time 0.03429/0.4993, allocations: 17.24 MB / 497.3 MB, free: 7.766 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches