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.001067/0.001067, allocations: 108.4 kB / 18.4 MB, free: 4.68 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.00107/0.00107, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.265/1.265, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001246/0.001246, allocations: 60.38 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07265/0.07391, allocations: 46.62 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1589/0.2328, allocations: 10.08 MB / 385.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004797/0.2376, allocations: 2.817 MB / 388.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.2392, allocations: 64.09 kB / 388.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00801/0.2472, allocations: 4.202 MB / 393 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.2501, allocations: 1.045 MB / 394 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.2519, allocations: 0.8302 MB / 394.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.256, allocations: 4.277 MB / 399.1 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.2689, allocations: 11.01 MB / 410.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.2721, allocations: 2.455 MB / 412.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.2752, allocations: 2.789 MB / 415.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000738/0.276, allocations: 0.6797 MB / 416.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2774, allocations: 0.8904 MB / 417 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.2785, allocations: 1.325 MB / 418.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002327/0.2808, allocations: 2.665 MB / 421 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.2877, allocations: 9.08 MB / 430 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2877, allocations: 0 / 430 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2877, allocations: 0 / 430 MB, free: 9.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.057e-05/0.2878, allocations: 4 kB / 430 MB, free: 9.414 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.01062/0.2984, allocations: 5.574 MB / 435.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2985, allocations: 8.031 kB / 435.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.3117, allocations: 2.384 MB / 438 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.3151, allocations: 2.373 MB / 440.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.3154, allocations: 369.8 kB / 440.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006365/0.316, allocations: 479.9 kB / 441.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009814/0.3258, allocations: 6.643 MB / 447.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-05/0.3259, allocations: 4 kB / 447.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/0.3264, allocations: 196 kB / 448 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.3266, allocations: 226.1 kB / 448.3 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008783/0.3354, allocations: 6.114 MB / 454.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02562/0.361, allocations: 22.35 MB / 476.7 MB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009701/0.3707, allocations: 10.79 MB / 487.5 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3719, allocations: 0.8227 MB / 488.3 MB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004769/0.3767, allocations: 3.378 MB / 491.7 MB, free: 8.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3767, allocations: 38.56 kB / 491.8 MB, free: 8.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.3767, allocations: 0 / 491.8 MB, free: 8.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004678/0.3772, allocations: 227.9 kB / 492 MB, free: 8.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.3772, allocations: 51.41 kB / 492 MB, free: 8.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.3801, allocations: 2.141 MB / 494.2 MB, free: 6.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3801, allocations: 25.7 kB / 494.2 MB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.3815, allocations: 2.386 MB / 496.6 MB, free: 3.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.3816, allocations: 71.66 kB / 496.6 MB, free: 3.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000703/0.3823, allocations: 0.5428 MB / 497.2 MB, free: 3.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3824, allocations: 357.9 kB / 497.5 MB, free: 2.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.3835, allocations: 0.8127 MB / 498.4 MB, free: 2.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.3855, allocations: 2.235 MB / 0.4889 GB, free: 15.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002787/0.3883, allocations: 2.96 MB / 0.4917 GB, free: 11.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/0.3883, allocations: 12 kB / 0.4918 GB, free: 11.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00431/0.3926, allocations: 3.016 MB / 0.4947 GB, free: 8.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.3927, allocations: 36 kB / 0.4947 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/0.3928, allocations: 51.94 kB / 0.4948 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.538e-05/0.3928, allocations: 71.98 kB / 0.4949 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.3945, allocations: 0.5693 MB / 0.4954 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.962e-05/0.3946, allocations: 107.8 kB / 0.4955 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.3963, allocations: 392.3 kB / 0.4959 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.3965, allocations: 156 kB / 0.496 GB, free: 7.012 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.002161/0.3987, allocations: 1.726 MB / 0.4977 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.3989, allocations: 134.2 kB / 0.4979 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.3993, allocations: 247 kB / 0.4981 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3993, allocations: 0 / 0.4981 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3993, allocations: 0 / 0.4981 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.3996, allocations: 223.4 kB / 0.4983 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.3998, allocations: 0 / 0.4983 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.4003, allocations: 35.95 kB / 0.4983 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.4003, allocations: 11.92 kB / 0.4983 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000213/0.4005, allocations: 180.8 kB / 0.4985 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004063/0.4009, allocations: 440.4 kB / 0.4989 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.684e-05/0.401, allocations: 39.95 kB / 0.499 GB, free: 3.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.4028, allocations: 1.4 MB / 0.5003 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Backend: time 3e-07/0.4028, allocations: 4 kB / 0.5003 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.4053, allocations: 1.607 MB / 0.5019 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of SimCode: time 0.01064/0.416, allocations: 6.873 MB / 0.5086 GB, free: 10 MB / 446.1 MB Notification: Performance of Templates: time 0.03927/0.4552, allocations: 22.71 MB / 0.5308 GB, free: 3.254 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/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