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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 178.8 kB / 17.03 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.3 MB / 241 MB, free: 10.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007618/0.0007619, allocations: 93.73 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000213/0.000213, allocations: 7.938 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1993, allocations: 50.41 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.005503/0.2048, allocations: 8.326 MB / 410.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.2084, allocations: 2.454 MB / 413 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.209, allocations: 67.81 kB / 413.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.2096, allocations: 409.5 kB / 413.5 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.211, allocations: 0.7464 MB / 414.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.212, allocations: 0.6388 MB / 414.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.2141, allocations: 3.711 MB / 418.6 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00974/0.2238, allocations: 9.268 MB / 427.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.2252, allocations: 1.624 MB / 429.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.2266, allocations: 1.84 MB / 431.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.2268, allocations: 276 kB / 431.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008109/0.2277, allocations: 475.8 kB / 432 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.228, allocations: 0.7162 MB / 432.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.2285, allocations: 0.8785 MB / 433.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.2333, allocations: 7.489 MB / 441.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2333, allocations: 0 / 441.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2333, allocations: 3.938 kB / 441.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.174e-05/0.2334, allocations: 0 / 441.1 MB, free: 9.48 MB / 314.7 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.008527/0.2419, allocations: 4.394 MB / 445.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.242, allocations: 12.03 kB / 445.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006781/0.2488, allocations: 1.299 MB / 446.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.2521, allocations: 2.481 MB / 449.3 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.2523, allocations: 349.3 kB / 449.6 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/0.2529, allocations: 451.9 kB / 450.1 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008914/0.2618, allocations: 6.086 MB / 456.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.2619, allocations: 0 / 456.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/0.2623, allocations: 188 kB / 456.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.2624, allocations: 197.5 kB / 456.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007349/0.2698, allocations: 5.26 MB / 461.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/0.2919, allocations: 21.04 MB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/0.2972, allocations: 5.607 MB / 488.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009223/0.2982, allocations: 0.702 MB / 489.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2983, allocations: 114.1 kB / 489.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2984, allocations: 39.56 kB / 489.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 3.517e-06/0.2984, allocations: 3.938 kB / 489.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.002033/0.3004, allocations: 1.537 MB / 490.8 MB, free: 6.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3005, allocations: 64.41 kB / 490.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.3021, allocations: 1.446 MB / 492.3 MB, free: 4.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.3022, allocations: 41.7 kB / 492.4 MB, free: 4.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.3031, allocations: 1.963 MB / 494.4 MB, free: 2.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.3034, allocations: 363 kB / 494.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.3034, allocations: 44 kB / 494.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3036, allocations: 451.3 kB / 495.2 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3047, allocations: 0.8397 MB / 496 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.3063, allocations: 1.969 MB / 498 MB, free: 14.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.3078, allocations: 1.345 MB / 499.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.3078, allocations: 12 kB / 499.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003464/0.3113, allocations: 2.851 MB / 0.4904 GB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3113, allocations: 20 kB / 0.4905 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.3113, allocations: 40 kB / 0.4905 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.318e-05/0.3114, allocations: 60.78 kB / 0.4905 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.3129, allocations: 0.542 MB / 0.4911 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-05/0.3129, allocations: 79.7 kB / 0.4912 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.314, allocations: 297.1 kB / 0.4914 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.3141, allocations: 120 kB / 0.4916 GB, free: 8.93 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001975/0.3161, allocations: 1.66 MB / 0.4932 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3162, allocations: 138.3 kB / 0.4933 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.3181, allocations: 1.427 MB / 0.4947 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001212/0.3193, allocations: 0.9982 MB / 0.4957 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3194, allocations: 0 / 0.4957 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3194, allocations: 7.969 kB / 0.4957 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2049/0.5243, allocations: 12.23 MB / 0.5076 GB, free: 87.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.5243, allocations: 23.62 kB / 0.5077 GB, free: 87.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.5251, allocations: 212.2 kB / 0.5079 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.937e-05/0.5252, allocations: 27.66 kB / 0.5079 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.5253, allocations: 43.06 kB / 0.5079 GB, free: 87.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.895e-05/0.5253, allocations: 36.58 kB / 0.508 GB, free: 87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.565e-05/0.5254, allocations: 30.09 kB / 0.508 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.5276, allocations: 2.589 MB / 0.5105 GB, free: 85.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.5281, allocations: 334.4 kB / 0.5108 GB, free: 85.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.5282, allocations: 43.2 kB / 0.5109 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.5289, allocations: 66.81 kB / 0.5109 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.529, allocations: 131.4 kB / 0.5111 GB, free: 85.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.529, allocations: 54.14 kB / 0.5111 GB, free: 85.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001123/0.5302, allocations: 0.9812 MB / 0.5121 GB, free: 84.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5302, allocations: 4 kB / 0.5121 GB, free: 84.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002289/0.5325, allocations: 0.941 MB / 0.513 GB, free: 84.56 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000322/0.5328, allocations: 216.3 kB / 0.5132 GB, free: 84.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.535, allocations: 1.895 MB / 0.5151 GB, free: 83.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.535, allocations: 0 / 0.5151 GB, free: 83.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.5357, allocations: 0.6112 MB / 0.5157 GB, free: 83.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.5376, allocations: 370.2 kB / 0.516 GB, free: 83.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00825/0.5458, allocations: 8.291 MB / 0.5241 GB, free: 76.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.5477, allocations: 2.996 MB / 0.527 GB, free: 73.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.548, allocations: 131.4 kB / 0.5272 GB, free: 73.11 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.548, allocations: 0 / 0.5272 GB, free: 73.11 MB / 378.7 MB Notification: Performance of Templates: time 0.03751/0.5855, allocations: 38.26 MB / 0.5645 GB, free: 34.91 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches