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.0012/0.0012, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001277/0.001277, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.413/1.413, allocations: 205.1 MB / 224.5 MB, free: 12.26 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.001195/0.001195, allocations: 47.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08609, allocations: 46.62 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1848/0.2709, allocations: 10.08 MB / 385.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.2762, allocations: 2.814 MB / 388 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.278, allocations: 64.62 kB / 388.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008691/0.2867, allocations: 4.213 MB / 392.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.2903, allocations: 1.05 MB / 393.4 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.2924, allocations: 0.8296 MB / 394.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005619/0.298, allocations: 4.283 MB / 398.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01438/0.3124, allocations: 11.01 MB / 409.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.3179, allocations: 2.452 MB / 411.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006799/0.3248, allocations: 2.788 MB / 414.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.3264, allocations: 0.6758 MB / 415.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.3289, allocations: 0.8943 MB / 416.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.3299, allocations: 1.325 MB / 417.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002842/0.3328, allocations: 2.669 MB / 420.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007939/0.3408, allocations: 9.08 MB / 429.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3408, allocations: 0 / 429.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3408, allocations: 0 / 429.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001487/0.3409, allocations: 0 / 429.4 MB, free: 9.34 MB / 350.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.01278/0.3537, allocations: 5.57 MB / 434.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3538, allocations: 12.03 kB / 435 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.3676, allocations: 2.387 MB / 437.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.3722, allocations: 2.369 MB / 439.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.3725, allocations: 365.7 kB / 440.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.3738, allocations: 483.9 kB / 440.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.3912, allocations: 6.64 MB / 447.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.3914, allocations: 8 kB / 447.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000995/0.3925, allocations: 204 kB / 447.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.3927, allocations: 230.1 kB / 447.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.4049, allocations: 6.114 MB / 453.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.4364, allocations: 22.34 MB / 476.1 MB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.4467, allocations: 10.79 MB / 486.9 MB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.448, allocations: 0.8149 MB / 487.7 MB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004851/0.4528, allocations: 3.386 MB / 491.1 MB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4529, allocations: 34.55 kB / 491.1 MB, free: 8.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.4529, allocations: 4 kB / 491.1 MB, free: 8.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004757/0.4534, allocations: 227.8 kB / 491.3 MB, free: 8.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.4534, allocations: 63.33 kB / 491.4 MB, free: 8.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.4563, allocations: 2.129 MB / 493.5 MB, free: 6.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.4563, allocations: 29.7 kB / 493.5 MB, free: 6.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.458, allocations: 2.374 MB / 495.9 MB, free: 3.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.4581, allocations: 75.66 kB / 496 MB, free: 3.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008751/0.459, allocations: 0.5466 MB / 496.5 MB, free: 3.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4592, allocations: 357.9 kB / 496.9 MB, free: 2.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.4605, allocations: 0.8089 MB / 497.7 MB, free: 1.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.4629, allocations: 2.231 MB / 499.9 MB, free: 15.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.4659, allocations: 2.968 MB / 0.4911 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/0.466, allocations: 19.94 kB / 0.4911 GB, free: 11.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004705/0.4707, allocations: 3.015 MB / 0.4941 GB, free: 8.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.4708, allocations: 29 kB / 0.4941 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-05/0.4708, allocations: 52 kB / 0.4941 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.918e-05/0.4709, allocations: 68.25 kB / 0.4942 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.4725, allocations: 0.5731 MB / 0.4948 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.96e-05/0.4726, allocations: 107.6 kB / 0.4949 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.4746, allocations: 396.2 kB / 0.4953 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.4748, allocations: 148 kB / 0.4954 GB, free: 6.934 MB / 430.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.002487/0.4773, allocations: 1.726 MB / 0.4971 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.4775, allocations: 138.2 kB / 0.4972 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.478, allocations: 246.9 kB / 0.4974 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/0.4781, allocations: 89.67 kB / 0.4975 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4781, allocations: 3.938 kB / 0.4975 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4781, allocations: 3.984 kB / 0.4975 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.4827, allocations: 3.041 MB / 0.5005 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4827, allocations: 7.969 kB / 0.5005 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.4828, allocations: 12 kB / 0.5005 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4828, allocations: 0 / 0.5005 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4828, allocations: 4 kB / 0.5005 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4828, allocations: 4 kB / 0.5005 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.4828, allocations: 7.922 kB / 0.5005 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.4832, allocations: 354.4 kB / 0.5009 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.4836, allocations: 231.4 kB / 0.5011 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4837, allocations: 4 kB / 0.5011 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.4842, allocations: 27.95 kB / 0.5011 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.4842, allocations: 7.984 kB / 0.5011 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4842, allocations: 4 kB / 0.5011 GB, free: 0.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001827/0.486, allocations: 1.396 MB / 0.5025 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.486, allocations: 0 / 0.5025 GB, free: 15.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002641/0.4887, allocations: 0.9902 MB / 0.5035 GB, free: 14.53 MB / 446.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.0003192/0.489, allocations: 143 kB / 0.5036 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.4912, allocations: 1.465 MB / 0.505 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4912, allocations: 0 / 0.505 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.4913, allocations: 40.67 kB / 0.5051 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.4928, allocations: 344.5 kB / 0.5054 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009149/0.502, allocations: 6.063 MB / 0.5113 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002949/0.5049, allocations: 3.128 MB / 0.5144 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001737/0.5067, allocations: 0.7944 MB / 0.5152 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5069, allocations: 103.4 kB / 0.5153 GB, free: 2.398 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5069, allocations: 0 / 0.5153 GB, free: 2.398 MB / 446.1 MB Notification: Performance of Templates: time 0.03238/0.5393, allocations: 17.96 MB / 0.5328 GB, free: 420 kB / 462.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