Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.83 kB / 367.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2323, allocations: 53.31 MB / 420.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0116/0.2439, allocations: 9.792 MB / 430.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.2494, allocations: 2.756 MB / 433.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2505, allocations: 79.75 kB / 433.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009532/0.2601, allocations: 4.214 MB / 437.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.2633, allocations: 0.7719 MB / 438.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.2656, allocations: 0.9632 MB / 439.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004886/0.2705, allocations: 4.054 MB / 443.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.2817, allocations: 8.512 MB / 451.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.2846, allocations: 2.357 MB / 454.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.2879, allocations: 2.659 MB / 456.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00081/0.2887, allocations: 0.6641 MB / 457.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.2902, allocations: 0.8943 MB / 458.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.2913, allocations: 1.239 MB / 459.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002673/0.294, allocations: 2.56 MB / 462.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.3033, allocations: 8.929 MB / 471.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3033, allocations: 4 kB / 471.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3033, allocations: 0 / 471.1 MB, free: 5.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001966/0.3035, allocations: 0 / 471.1 MB, free: 5.621 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.01303/0.3165, allocations: 5.399 MB / 476.5 MB, free: 152 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3165, allocations: 8.031 kB / 476.5 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007797/0.3243, allocations: 1.347 MB / 477.9 MB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004602/0.3289, allocations: 2.613 MB / 480.5 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/0.3292, allocations: 345.4 kB / 480.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007809/0.33, allocations: 463.9 kB / 481.3 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.3412, allocations: 6.086 MB / 487.3 MB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.562e-05/0.3413, allocations: 7.984 kB / 487.4 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/0.3417, allocations: 187.9 kB / 487.5 MB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.3419, allocations: 193.5 kB / 487.7 MB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009419/0.3513, allocations: 5.272 MB / 493 MB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03683/0.3882, allocations: 21.03 MB / 0.502 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006738/0.3949, allocations: 5.486 MB / 0.5073 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.3963, allocations: 0.5887 MB / 0.5079 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.3966, allocations: 199.2 kB / 0.5081 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/0.3966, allocations: 51.44 kB / 0.5081 GB, free: 2.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.817e-06/0.3966, allocations: 0 / 0.5081 GB, free: 2.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.003419/0.4001, allocations: 1.429 MB / 0.5095 GB, free: 1.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.4001, allocations: 60.41 kB / 0.5096 GB, free: 1.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.4029, allocations: 1.466 MB / 0.511 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.403, allocations: 41.7 kB / 0.5111 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.4048, allocations: 2.033 MB / 0.5131 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.4053, allocations: 369.1 kB / 0.5134 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009371/0.4062, allocations: 475.8 kB / 0.5139 GB, free: 12.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.4064, allocations: 357.9 kB / 0.5142 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.4083, allocations: 0.8085 MB / 0.515 GB, free: 11.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/0.4113, allocations: 1.937 MB / 0.5169 GB, free: 9.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003884/0.4152, allocations: 2.927 MB / 0.5197 GB, free: 5.586 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.4152, allocations: 11.98 kB / 0.5198 GB, free: 5.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00417/0.4194, allocations: 2.798 MB / 0.5225 GB, free: 2.773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.4195, allocations: 23.94 kB / 0.5225 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.4195, allocations: 40 kB / 0.5225 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.967e-05/0.4196, allocations: 52 kB / 0.5226 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4212, allocations: 0.5381 MB / 0.5231 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-05/0.4213, allocations: 79.66 kB / 0.5232 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.4225, allocations: 310.2 kB / 0.5235 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.4226, allocations: 120 kB / 0.5236 GB, free: 1.621 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.002351/0.425, allocations: 1.664 MB / 0.5252 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.4252, allocations: 143 kB / 0.5254 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.4273, allocations: 1.338 MB / 0.5267 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001345/0.4287, allocations: 0.9279 MB / 0.5276 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.4287, allocations: 0 / 0.5276 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4287, allocations: 3.984 kB / 0.5276 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2036/0.6323, allocations: 13.5 MB / 0.5408 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/0.6323, allocations: 19 kB / 0.5408 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.6331, allocations: 214.4 kB / 0.541 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.431e-05/0.6331, allocations: 25.81 kB / 0.541 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.6332, allocations: 45.52 kB / 0.5411 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-05/0.6332, allocations: 37.56 kB / 0.5411 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-05/0.6332, allocations: 30.2 kB / 0.5411 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6356, allocations: 2.455 MB / 0.5435 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.6359, allocations: 324.1 kB / 0.5438 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6361, allocations: 46.38 kB / 0.5439 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.6368, allocations: 67.53 kB / 0.5439 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.6369, allocations: 131.6 kB / 0.5441 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.637, allocations: 57.45 kB / 0.5441 GB, free: 109.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.6381, allocations: 0.9906 MB / 0.5451 GB, free: 109.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6381, allocations: 4 kB / 0.5451 GB, free: 109.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002198/0.6403, allocations: 0.9525 MB / 0.546 GB, free: 109.4 MB / 462.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 (98): * Single equations (assignments): 97 * 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 Backend phase and start with SimCode phase: time 0.0002922/0.6406, allocations: 205.1 kB / 0.5462 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.6427, allocations: 1.789 MB / 0.548 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.6427, allocations: 3.938 kB / 0.548 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.6433, allocations: 0.563 MB / 0.5485 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.6451, allocations: 377.4 kB / 0.5489 GB, free: 108.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.6529, allocations: 6.954 MB / 0.5557 GB, free: 104.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.6548, allocations: 3.075 MB / 0.5587 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001532/0.6564, allocations: 0.8185 MB / 0.5595 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.6566, allocations: 110.7 kB / 0.5596 GB, free: 103.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6566, allocations: 0 / 0.5596 GB, free: 103.2 MB / 462.1 MB Notification: Performance of Templates: time 0.02636/0.683, allocations: 18.55 MB / 0.5777 GB, free: 86.4 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches