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.BalancingDelta.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.BalancingDelta,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.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,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.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 116.4 kB / 18.45 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.001568/0.001568, allocations: 204 kB / 19.4 MB, free: 3.648 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.401/1.401, allocations: 227.7 MB / 247.9 MB, free: 10.21 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.001888/0.001888, allocations: 63.89 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.222, allocations: 50.55 MB / 410.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01077/0.2328, allocations: 9.17 MB / 419.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.2375, allocations: 2.643 MB / 422 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.238, allocations: 71.75 kB / 422.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007854/0.2459, allocations: 3.748 MB / 425.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.2481, allocations: 0.7516 MB / 426.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.2501, allocations: 0.9216 MB / 427.5 MB, free: 76 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003991/0.2541, allocations: 3.63 MB / 431.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009497/0.2636, allocations: 7.368 MB / 438.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.2663, allocations: 2.092 MB / 440.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.2693, allocations: 2.375 MB / 443 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008186/0.2701, allocations: 0.586 MB / 443.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.2716, allocations: 0.8161 MB / 444.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009632/0.2726, allocations: 1.111 MB / 445.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.2749, allocations: 2.28 MB / 447.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007891/0.2827, allocations: 7.928 MB / 455.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2827, allocations: 0 / 455.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2827, allocations: 3.938 kB / 455.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.473e-05/0.2828, allocations: 0 / 455.7 MB, free: 3.734 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01199/0.2948, allocations: 4.937 MB / 460.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2949, allocations: 8.031 kB / 460.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/0.3032, allocations: 1.318 MB / 462 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/0.3076, allocations: 2.319 MB / 464.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.3079, allocations: 316.4 kB / 464.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009569/0.3088, allocations: 408 kB / 465 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.3191, allocations: 5.465 MB / 470.5 MB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.949e-05/0.3192, allocations: 12 kB / 470.5 MB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004149/0.3196, allocations: 168 kB / 470.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.3198, allocations: 176.6 kB / 470.8 MB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008763/0.3285, allocations: 4.8 MB / 475.6 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02814/0.3567, allocations: 19.34 MB / 494.9 MB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/0.3616, allocations: 3.796 MB / 498.7 MB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3629, allocations: 0.7184 MB / 499.5 MB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.3631, allocations: 191.2 kB / 499.6 MB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3632, allocations: 51.56 kB / 499.7 MB, free: 6.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.685e-06/0.3632, allocations: 3.938 kB / 499.7 MB, free: 6.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002506/0.3657, allocations: 1.554 MB / 0.4895 GB, free: 4.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3657, allocations: 64.41 kB / 0.4896 GB, free: 4.699 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.3676, allocations: 1.342 MB / 0.4909 GB, free: 3.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.3676, allocations: 41.7 kB / 0.4909 GB, free: 3.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.3689, allocations: 1.819 MB / 0.4927 GB, free: 1.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.3692, allocations: 384.9 kB / 0.4931 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006102/0.3698, allocations: 455.6 kB / 0.4935 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.37, allocations: 349.9 kB / 0.4938 GB, free: 280 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3713, allocations: 0.8279 MB / 0.4946 GB, free: 15.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.3735, allocations: 1.823 MB / 0.4964 GB, free: 13.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.377, allocations: 2.794 MB / 0.4991 GB, free: 9.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.377, allocations: 12 kB / 0.4992 GB, free: 9.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004294/0.3813, allocations: 2.743 MB / 0.5018 GB, free: 7.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.3814, allocations: 20 kB / 0.5019 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/0.3814, allocations: 32 kB / 0.5019 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.036e-05/0.3815, allocations: 48 kB / 0.5019 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.3832, allocations: 0.5186 MB / 0.5024 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.845e-05/0.3832, allocations: 71.72 kB / 0.5025 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3844, allocations: 294.2 kB / 0.5028 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.3846, allocations: 116 kB / 0.5029 GB, free: 6.016 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002202/0.3868, allocations: 1.484 MB / 0.5044 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.387, allocations: 127.2 kB / 0.5045 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.3895, allocations: 1.454 MB / 0.5059 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001504/0.391, allocations: 1.037 MB / 0.5069 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.391, allocations: 4 kB / 0.5069 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.391, allocations: 3.984 kB / 0.5069 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.4091, allocations: 13.74 MB / 0.5203 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.4091, allocations: 20 kB / 0.5204 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.4099, allocations: 231.5 kB / 0.5206 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.934e-05/0.4099, allocations: 28.75 kB / 0.5206 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.41, allocations: 44 kB / 0.5206 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.014e-05/0.41, allocations: 51.78 kB / 0.5207 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-05/0.4101, allocations: 31.88 kB / 0.5207 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.4135, allocations: 2.667 MB / 0.5233 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.4141, allocations: 336 kB / 0.5236 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.4143, allocations: 55.92 kB / 0.5237 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/0.415, allocations: 72.02 kB / 0.5238 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4152, allocations: 143.3 kB / 0.5239 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/0.4153, allocations: 52 kB / 0.524 GB, free: 15.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.4166, allocations: 0.9139 MB / 0.5248 GB, free: 14.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4166, allocations: 0 / 0.5248 GB, free: 14.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002429/0.419, allocations: 0.8793 MB / 0.5257 GB, free: 13.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0003497/0.4193, allocations: 206.6 kB / 0.5259 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.4221, allocations: 1.84 MB / 0.5277 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4221, allocations: 0 / 0.5277 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000891/0.423, allocations: 0.6179 MB / 0.5283 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4249, allocations: 340.8 kB / 0.5286 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009999/0.4349, allocations: 6.483 MB / 0.535 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/0.4377, allocations: 2.813 MB / 0.5377 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1744/0.6121, allocations: 0.7565 MB / 0.5384 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.6126, allocations: 106.3 kB / 0.5385 GB, free: 120.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6126, allocations: 0.5 kB / 0.5385 GB, free: 120.2 MB / 462.1 MB Notification: Performance of Templates: time 0.02666/0.6392, allocations: 17.35 MB / 0.5555 GB, free: 114.5 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches