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.00073/0.00073, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.000787/0.000787, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.284/1.284, allocations: 223.3 MB / 241.6 MB, free: 180 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 7.938 kB / 301.4 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09257, allocations: 50.41 MB / 351.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009444/0.1021, allocations: 8.971 MB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.1064, allocations: 2.639 MB / 363.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.107, allocations: 75.75 kB / 363.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.108, allocations: 0.5833 MB / 364.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.1098, allocations: 0.7981 MB / 364.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1113, allocations: 0.7627 MB / 365.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.1146, allocations: 3.839 MB / 369.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1873/0.3019, allocations: 11.1 MB / 380.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.3045, allocations: 1.635 MB / 382.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.3071, allocations: 1.933 MB / 384.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006843/0.3078, allocations: 277.8 kB / 384.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3094, allocations: 495.8 kB / 384.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006456/0.31, allocations: 0.7299 MB / 385.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.312, allocations: 2.018 MB / 387.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006718/0.3188, allocations: 8.354 MB / 396 MB, free: 1.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3188, allocations: 0 / 396 MB, free: 1.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3188, allocations: 0 / 396 MB, free: 1.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001779/0.319, allocations: 0 / 396 MB, free: 1.031 MB / 302.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.0104/0.3294, allocations: 4.353 MB / 400.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3295, allocations: 8.562 kB / 400.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007415/0.3369, allocations: 1.3 MB / 401.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.3408, allocations: 2.51 MB / 404.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.341, allocations: 346.5 kB / 404.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007339/0.3418, allocations: 459.8 kB / 405 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.3531, allocations: 6.114 MB / 411.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.821e-05/0.3532, allocations: 8 kB / 411.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004456/0.3536, allocations: 186.7 kB / 411.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.3538, allocations: 193.5 kB / 411.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009008/0.3628, allocations: 5.292 MB / 416.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03163/0.3945, allocations: 21.07 MB / 437.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007197/0.4017, allocations: 5.595 MB / 443.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.4029, allocations: 0.7098 MB / 444.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.4031, allocations: 111.4 kB / 444.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.4033, allocations: 39.56 kB / 444.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/0.4033, allocations: 0 / 444.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002469/0.4058, allocations: 1.556 MB / 445.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4058, allocations: 64.41 kB / 445.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.4081, allocations: 1.458 MB / 447.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.4082, allocations: 41.7 kB / 447.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.4096, allocations: 1.961 MB / 449.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.41, allocations: 366.2 kB / 449.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.4102, allocations: 186.2 kB / 449.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4104, allocations: 349.9 kB / 450.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.4119, allocations: 0.8515 MB / 451.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.414, allocations: 1.979 MB / 453.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/0.4174, allocations: 3.003 MB / 456.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.4174, allocations: 12 kB / 456.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004295/0.4217, allocations: 2.865 MB / 459 MB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.4218, allocations: 24.12 kB / 459 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.198e-05/0.4218, allocations: 44 kB / 459 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.823e-05/0.4219, allocations: 52 kB / 459.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.4235, allocations: 0.5356 MB / 459.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.178e-05/0.4236, allocations: 74.22 kB / 459.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.425, allocations: 293.1 kB / 460 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.4251, allocations: 124 kB / 460.1 MB, free: 2.344 MB / 366.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.002953/0.4281, allocations: 1.672 MB / 461.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.4283, allocations: 134.2 kB / 461.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.4307, allocations: 1.427 MB / 463.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001462/0.4322, allocations: 1.018 MB / 464.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4322, allocations: 0 / 464.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.4322, allocations: 11.58 kB / 464.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.4488, allocations: 12.23 MB / 476.6 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/0.4488, allocations: 24.03 kB / 476.6 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.4496, allocations: 214.5 kB / 476.8 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/0.4496, allocations: 28 kB / 476.9 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.4497, allocations: 43.98 kB / 476.9 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.02e-05/0.4497, allocations: 39.39 kB / 476.9 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/0.4498, allocations: 27.41 kB / 477 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.4529, allocations: 2.589 MB / 479.5 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.4535, allocations: 335.1 kB / 479.9 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4537, allocations: 43.98 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.4544, allocations: 59.95 kB / 480 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.4546, allocations: 130.5 kB / 480.1 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.4546, allocations: 59.92 kB / 480.2 MB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.456, allocations: 0.999 MB / 481.2 MB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.456, allocations: 4 kB / 481.2 MB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002718/0.4588, allocations: 0.9359 MB / 482.1 MB, free: 11.64 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.000337/0.4591, allocations: 215.2 kB / 482.3 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.4619, allocations: 1.916 MB / 484.2 MB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4619, allocations: 0 / 484.2 MB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.4628, allocations: 0.611 MB / 484.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/0.4681, allocations: 373.8 kB / 485.2 MB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.481, allocations: 8.801 MB / 494 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/0.484, allocations: 3.072 MB / 497.1 MB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002067/0.4861, allocations: 0.8093 MB / 497.9 MB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.4864, allocations: 115.4 kB / 498 MB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4864, allocations: 0 / 498 MB, free: 11.68 MB / 414.1 MB Notification: Performance of Templates: time 0.03343/0.5198, allocations: 17.57 MB / 0.5035 GB, free: 10.3 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/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