Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2542, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01016/0.2644, allocations: 9.75 MB / 419.7 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.2695, allocations: 2.74 MB / 422.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.2708, allocations: 83.75 kB / 422.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00842/0.2793, allocations: 4.18 MB / 426.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.2817, allocations: 0.7646 MB / 427.5 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.2837, allocations: 0.961 MB / 428.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00391/0.2876, allocations: 4.05 MB / 432.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.2993, allocations: 10.97 MB / 443.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.302, allocations: 2.361 MB / 445.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.305, allocations: 2.647 MB / 448.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.3058, allocations: 0.6641 MB / 449.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.3072, allocations: 0.8982 MB / 450 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009572/0.3082, allocations: 1.235 MB / 451.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.3105, allocations: 2.56 MB / 453.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006986/0.3175, allocations: 8.906 MB / 462.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3175, allocations: 0 / 462.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3175, allocations: 0 / 462.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.3176, allocations: 4 kB / 462.7 MB, free: 12.58 MB / 382.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.01067/0.3283, allocations: 5.317 MB / 468 MB, free: 7.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3284, allocations: 8.031 kB / 468 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007736/0.3361, allocations: 1.327 MB / 469.4 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.3401, allocations: 2.595 MB / 472 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.3404, allocations: 349.3 kB / 472.3 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.341, allocations: 455.9 kB / 472.7 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009183/0.3502, allocations: 6.098 MB / 478.8 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.539e-05/0.3503, allocations: 0 / 478.8 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/0.3507, allocations: 192 kB / 479 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.3509, allocations: 197.5 kB / 479.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007983/0.3589, allocations: 5.272 MB / 484.5 MB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.3833, allocations: 20.96 MB / 0.4936 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005753/0.3891, allocations: 5.567 MB / 0.499 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008703/0.39, allocations: 0.6589 MB / 0.4997 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.3902, allocations: 191.2 kB / 0.4999 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3902, allocations: 47.5 kB / 0.4999 GB, free: 9.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.825e-06/0.3902, allocations: 0 / 0.4999 GB, free: 9.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.001937/0.3922, allocations: 1.424 MB / 0.5013 GB, free: 8.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.3922, allocations: 64.41 kB / 0.5014 GB, free: 8.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.3939, allocations: 1.461 MB / 0.5028 GB, free: 6.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.394, allocations: 41.7 kB / 0.5028 GB, free: 6.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009993/0.395, allocations: 1.967 MB / 0.5047 GB, free: 4.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.3952, allocations: 351.2 kB / 0.5051 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.3957, allocations: 467.6 kB / 0.5055 GB, free: 3.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3959, allocations: 361.9 kB / 0.5059 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3969, allocations: 0.8124 MB / 0.5067 GB, free: 2.641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.3987, allocations: 1.941 MB / 0.5086 GB, free: 144 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.4015, allocations: 2.923 MB / 0.5114 GB, free: 12.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.4016, allocations: 12 kB / 0.5114 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003556/0.4051, allocations: 2.789 MB / 0.5142 GB, free: 9.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4052, allocations: 24 kB / 0.5142 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.4052, allocations: 36 kB / 0.5142 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.486e-05/0.4053, allocations: 56 kB / 0.5143 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.4067, allocations: 0.5303 MB / 0.5148 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.429e-05/0.4068, allocations: 80.23 kB / 0.5149 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.4079, allocations: 293.2 kB / 0.5151 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.4081, allocations: 128 kB / 0.5153 GB, free: 8.727 MB / 446.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.001973/0.41, allocations: 1.668 MB / 0.5169 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.4102, allocations: 134.3 kB / 0.517 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.4121, allocations: 1.349 MB / 0.5183 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.4121, allocations: 7.969 kB / 0.5183 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4121, allocations: 0 / 0.5183 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.4126, allocations: 279.2 kB / 0.5186 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4127, allocations: 20 kB / 0.5186 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.4131, allocations: 47.89 kB / 0.5187 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.4132, allocations: 48.92 kB / 0.5187 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001634/0.4149, allocations: 1.146 MB / 0.5198 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002135/0.417, allocations: 1.877 MB / 0.5217 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005582/0.4176, allocations: 483.7 kB / 0.5221 GB, free: 1.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001134/0.4187, allocations: 0.9916 MB / 0.5231 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of Backend: time 1.954e-06/0.4187, allocations: 0 / 0.5231 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.4211, allocations: 1.588 MB / 0.5246 GB, free: 15.02 MB / 462.1 MB Notification: Performance of SimCode: time 0.008956/0.4301, allocations: 6.589 MB / 0.5311 GB, free: 8.367 MB / 462.1 MB Notification: Performance of Templates: time 0.2127/0.6428, allocations: 23.08 MB / 0.5536 GB, free: 119.4 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches