Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 110.9 kB / 17.75 MB, free: 5.312 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.001762/0.001762, allocations: 190.6 kB / 18.68 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2279, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009695/0.2376, allocations: 9.738 MB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.2419, allocations: 2.682 MB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.2429, allocations: 79.75 kB / 413.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008354/0.2513, allocations: 4.196 MB / 418.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.254, allocations: 0.9281 MB / 419 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.2559, allocations: 0.8157 MB / 419.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.2599, allocations: 4.066 MB / 423.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.2733, allocations: 10.96 MB / 434.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.2761, allocations: 2.354 MB / 437.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003745/0.2798, allocations: 2.651 MB / 439.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002287/0.2821, allocations: 0.6641 MB / 440.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.285, allocations: 0.8787 MB / 441.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.2867, allocations: 1.235 MB / 442.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003592/0.2903, allocations: 2.56 MB / 445.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008297/0.2986, allocations: 8.893 MB / 454.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2986, allocations: 0 / 454.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2986, allocations: 0 / 454.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001995/0.2988, allocations: 0 / 454.1 MB, free: 3.934 MB / 366.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.01241/0.3113, allocations: 5.303 MB / 459.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3113, allocations: 11.89 kB / 459.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007498/0.3188, allocations: 1.299 MB / 460.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004904/0.3237, allocations: 2.595 MB / 463.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.324, allocations: 349.3 kB / 463.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007254/0.3247, allocations: 459.9 kB / 464.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.3352, allocations: 6.094 MB / 470.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/0.3353, allocations: 3.906 kB / 470.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004401/0.3358, allocations: 192 kB / 470.4 MB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.3359, allocations: 197.5 kB / 470.6 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008606/0.3446, allocations: 5.264 MB / 475.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02634/0.3709, allocations: 20.72 MB / 496.6 MB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006068/0.377, allocations: 5.576 MB / 0.4904 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009243/0.378, allocations: 0.6473 MB / 0.491 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.3781, allocations: 114.1 kB / 0.4911 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3782, allocations: 47.56 kB / 0.4912 GB, free: 1.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/0.3782, allocations: 3.938 kB / 0.4912 GB, free: 1.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002074/0.3803, allocations: 1.42 MB / 0.4926 GB, free: 15.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3803, allocations: 60.41 kB / 0.4926 GB, free: 15.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.3822, allocations: 1.457 MB / 0.494 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.3822, allocations: 41.7 kB / 0.4941 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.3834, allocations: 1.97 MB / 0.496 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.3837, allocations: 347.3 kB / 0.4963 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005763/0.3843, allocations: 471.6 kB / 0.4968 GB, free: 11.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3844, allocations: 353.9 kB / 0.4971 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3855, allocations: 0.8085 MB / 0.4979 GB, free: 10.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.3874, allocations: 1.945 MB / 0.4998 GB, free: 7.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.3904, allocations: 2.927 MB / 0.5027 GB, free: 4.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.3904, allocations: 8 kB / 0.5027 GB, free: 4.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003823/0.3943, allocations: 2.801 MB / 0.5054 GB, free: 1.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.3943, allocations: 20 kB / 0.5054 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/0.3943, allocations: 40 kB / 0.5055 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.383e-05/0.3944, allocations: 56 kB / 0.5055 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.396, allocations: 0.5342 MB / 0.506 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.329e-05/0.3961, allocations: 75.72 kB / 0.5061 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.3973, allocations: 297.5 kB / 0.5064 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.3975, allocations: 124 kB / 0.5065 GB, free: 0.5078 MB / 430.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 (282): * Single equations (assignments): 281 * 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.002166/0.3996, allocations: 1.668 MB / 0.5081 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.3999, allocations: 126.4 kB / 0.5083 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.4018, allocations: 1.342 MB / 0.5096 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4019, allocations: 11.92 kB / 0.5096 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4019, allocations: 4 kB / 0.5096 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.4023, allocations: 287.1 kB / 0.5099 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.4025, allocations: 16 kB / 0.5099 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.4029, allocations: 47.89 kB / 0.5099 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.403, allocations: 52.92 kB / 0.51 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001713/0.4048, allocations: 1.142 MB / 0.5111 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002244/0.407, allocations: 1.873 MB / 0.5129 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005812/0.4076, allocations: 487.7 kB / 0.5134 GB, free: 9.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.4089, allocations: 0.9916 MB / 0.5144 GB, free: 8.402 MB / 446.1 MB Notification: Performance of Backend: time 2.7e-07/0.4089, allocations: 0 / 0.5144 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.4116, allocations: 1.58 MB / 0.5159 GB, free: 6.812 MB / 446.1 MB Notification: Performance of SimCode: time 0.009963/0.4216, allocations: 6.59 MB / 0.5223 GB, free: 164 kB / 446.1 MB Notification: Performance of Templates: time 0.219/0.6406, allocations: 22.98 MB / 0.5448 GB, free: 129.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches