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.001712/0.001712, allocations: 109.2 kB / 17.17 MB, free: 6.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.00274/0.002741, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.435/2.435, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 42.94 kB / 300.6 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1715, allocations: 49.45 MB / 350.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01542/0.187, allocations: 9.595 MB / 359.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1971, allocations: 2.678 MB / 362.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.2, allocations: 71.81 kB / 362.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01461/0.2148, allocations: 3.965 MB / 366.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.2212, allocations: 0.8354 MB / 367.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.2255, allocations: 0.7671 MB / 368 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2916/0.5171, allocations: 3.838 MB / 371.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02556/0.5428, allocations: 9.196 MB / 381 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.548, allocations: 2.127 MB / 383.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.5543, allocations: 2.581 MB / 385.7 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003247/0.5575, allocations: 0.5099 MB / 386.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.5618, allocations: 0.7241 MB / 386.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.5643, allocations: 1.076 MB / 388 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008542/0.5729, allocations: 2.397 MB / 390.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.5847, allocations: 7.73 MB / 398.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.5847, allocations: 0 / 398.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5848, allocations: 0 / 398.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003074/0.5851, allocations: 0 / 398.2 MB, free: 14.96 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.01978/0.6049, allocations: 5.327 MB / 403.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6049, allocations: 8.031 kB / 403.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009166/0.6141, allocations: 1.301 MB / 404.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006639/0.6208, allocations: 2.509 MB / 407.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005855/0.6214, allocations: 349.3 kB / 407.6 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002816/0.6243, allocations: 451.9 kB / 408.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/0.6518, allocations: 6.111 MB / 414.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/0.6521, allocations: 4 kB / 414.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001995/0.6541, allocations: 188 kB / 414.4 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/0.6544, allocations: 201.5 kB / 414.6 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.6738, allocations: 5.294 MB / 419.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/0.7326, allocations: 21.02 MB / 440.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009145/0.7418, allocations: 5.601 MB / 446.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.7439, allocations: 0.6981 MB / 447.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.7442, allocations: 113.9 kB / 447.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.7443, allocations: 43.56 kB / 447.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 5.991e-06/0.7443, allocations: 0 / 447.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.004438/0.7487, allocations: 1.548 MB / 448.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.7488, allocations: 60.41 kB / 448.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.7526, allocations: 1.461 MB / 450.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.7528, allocations: 41.7 kB / 450.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.755, allocations: 1.962 MB / 452.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/0.7557, allocations: 370 kB / 452.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.757, allocations: 475.8 kB / 453.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.7573, allocations: 357.9 kB / 453.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.7597, allocations: 0.8437 MB / 454.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.7634, allocations: 1.986 MB / 456.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/0.7699, allocations: 2.997 MB / 459.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/0.7701, allocations: 8 kB / 459.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.00956/0.7797, allocations: 2.874 MB / 462.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7799, allocations: 23.94 kB / 462.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.78, allocations: 44.88 kB / 462.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.7802, allocations: 52 kB / 462.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/0.7834, allocations: 0.5417 MB / 463 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001507/0.7836, allocations: 79.34 kB / 463 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/0.787, allocations: 285.1 kB / 463.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/0.7877, allocations: 128 kB / 463.4 MB, free: 13.6 MB / 382.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.006144/0.7938, allocations: 1.673 MB / 465.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007064/0.7946, allocations: 138.2 kB / 465.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.7991, allocations: 1.416 MB / 466.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002672/0.8018, allocations: 1.011 MB / 467.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.8018, allocations: 2.531 kB / 467.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.8019, allocations: 7.984 kB / 467.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/0.8267, allocations: 12.24 MB / 479.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.231e-05/0.8268, allocations: 21 kB / 479.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/0.8278, allocations: 213.7 kB / 480.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.105e-05/0.8278, allocations: 28 kB / 480.2 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.828, allocations: 47.98 kB / 480.2 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.339e-05/0.8281, allocations: 35.02 kB / 480.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.389e-05/0.8281, allocations: 26.94 kB / 480.3 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.8322, allocations: 2.595 MB / 482.9 MB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009352/0.8332, allocations: 331.1 kB / 483.2 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.8336, allocations: 43.98 kB / 483.2 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.8347, allocations: 63.95 kB / 483.3 MB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.8349, allocations: 133.7 kB / 483.4 MB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.8351, allocations: 59.92 kB / 483.5 MB, free: 8.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002303/0.8374, allocations: 0.9877 MB / 484.5 MB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8374, allocations: 0 / 484.5 MB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004535/0.8419, allocations: 0.9399 MB / 485.4 MB, free: 6.906 MB / 398.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.0006458/0.8426, allocations: 217.7 kB / 485.6 MB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004323/0.8469, allocations: 1.914 MB / 487.6 MB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.847, allocations: 448 / 487.6 MB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.8486, allocations: 0.6195 MB / 488.2 MB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/0.8531, allocations: 366 kB / 488.5 MB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/0.8796, allocations: 8.631 MB / 497.2 MB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007603/0.8872, allocations: 2.984 MB / 0.4884 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008497/0.8882, allocations: 135.4 kB / 0.4886 GB, free: 7.988 MB / 414.1 MB Notification: Performance of SimCode: time 1.983e-06/0.8882, allocations: 0 / 0.4886 GB, free: 7.988 MB / 414.1 MB Notification: Performance of Templates: time 0.09816/0.9864, allocations: 38.64 MB / 0.5263 GB, free: 1.473 MB / 446.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