Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 90.81 kB / 16.31 MB, free: 5.945 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.00122/0.00122, allocations: 182.9 kB / 17.21 MB, free: 5.855 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.376/1.376, allocations: 223.3 MB / 241.2 MB, free: 5.254 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 12.59 kB / 300.8 MB, free: 5.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09628, allocations: 50.42 MB / 351.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008112/0.1044, allocations: 7.822 MB / 359.1 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.1089, allocations: 2.337 MB / 361.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.1095, allocations: 63.81 kB / 361.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.1104, allocations: 377.7 kB / 361.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1122, allocations: 0.7309 MB / 362.6 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1136, allocations: 0.6291 MB / 363.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.117, allocations: 3.318 MB / 366.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.1294, allocations: 8.148 MB / 374.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.1314, allocations: 1.444 MB / 376.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.1335, allocations: 1.665 MB / 377.8 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.1338, allocations: 244 kB / 378 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009996/0.1348, allocations: 451.8 kB / 378.4 MB, free: 80 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005675/0.1354, allocations: 0.6501 MB / 379.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007846/0.1362, allocations: 0.7772 MB / 379.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006355/0.1426, allocations: 6.638 MB / 386.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1426, allocations: 0 / 386.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1426, allocations: 0 / 386.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000202/0.1428, allocations: 0 / 386.5 MB, free: 7.984 MB / 318.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.0102/0.153, allocations: 4.041 MB / 390.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1531, allocations: 12.03 kB / 390.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/0.1605, allocations: 1.272 MB / 391.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.1641, allocations: 2.201 MB / 394 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.1644, allocations: 312.4 kB / 394.3 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006379/0.165, allocations: 412 kB / 394.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/0.1746, allocations: 5.457 MB / 400.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.091e-05/0.1747, allocations: 7.891 kB / 400.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/0.1751, allocations: 172 kB / 400.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.1753, allocations: 176.6 kB / 400.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008024/0.1834, allocations: 4.788 MB / 405.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/0.2077, allocations: 19.37 MB / 424.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1851/0.3929, allocations: 3.914 MB / 428.6 MB, free: 55.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3941, allocations: 0.8283 MB / 429.4 MB, free: 55.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.3942, allocations: 113.1 kB / 429.6 MB, free: 55.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3943, allocations: 46.28 kB / 429.6 MB, free: 55.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.496e-06/0.3943, allocations: 0.6562 kB / 429.6 MB, free: 55.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002353/0.3966, allocations: 1.663 MB / 431.3 MB, free: 55.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3967, allocations: 62.75 kB / 431.3 MB, free: 55.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.3986, allocations: 1.324 MB / 432.6 MB, free: 55.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.3987, allocations: 45.23 kB / 432.7 MB, free: 55.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.3997, allocations: 1.753 MB / 434.4 MB, free: 54.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.4, allocations: 384.4 kB / 434.8 MB, free: 54.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.4001, allocations: 43.12 kB / 434.9 MB, free: 54.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.4003, allocations: 440.6 kB / 435.3 MB, free: 53.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4016, allocations: 0.8636 MB / 436.2 MB, free: 53.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.4033, allocations: 1.857 MB / 438 MB, free: 52.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.405, allocations: 1.314 MB / 439.3 MB, free: 52.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.405, allocations: 9.844 kB / 439.3 MB, free: 52.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003871/0.4089, allocations: 2.797 MB / 442.1 MB, free: 52.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.409, allocations: 20.19 kB / 442.2 MB, free: 52.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.409, allocations: 33.88 kB / 442.2 MB, free: 52.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.452e-05/0.4091, allocations: 53.25 kB / 442.2 MB, free: 52.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.4106, allocations: 0.5205 MB / 442.8 MB, free: 52.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.462e-05/0.4107, allocations: 70.75 kB / 442.8 MB, free: 52.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.4118, allocations: 296.6 kB / 443.1 MB, free: 51.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.412, allocations: 112.9 kB / 443.2 MB, free: 51.97 MB / 350.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 (275): * Single equations (assignments): 271 * 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.001724/0.4137, allocations: 1.481 MB / 444.7 MB, free: 51.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4139, allocations: 121.8 kB / 444.8 MB, free: 51.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.4158, allocations: 1.544 MB / 446.4 MB, free: 50.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001298/0.4171, allocations: 1.106 MB / 447.5 MB, free: 50.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4172, allocations: 0 / 447.5 MB, free: 50.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4172, allocations: 11.8 kB / 447.5 MB, free: 50.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.4291, allocations: 12.37 MB / 459.9 MB, free: 42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.4291, allocations: 23.95 kB / 459.9 MB, free: 41.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.4298, allocations: 231.5 kB / 460.1 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/0.4299, allocations: 32 kB / 460.1 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.856e-05/0.4299, allocations: 48.69 kB / 460.2 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.43, allocations: 43.84 kB / 460.2 MB, free: 41.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/0.43, allocations: 36.95 kB / 460.3 MB, free: 41.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.4324, allocations: 2.78 MB / 463 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.4328, allocations: 347.1 kB / 463.4 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.433, allocations: 51.98 kB / 463.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/0.4337, allocations: 72 kB / 463.5 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4338, allocations: 143.4 kB / 463.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.4339, allocations: 60 kB / 463.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009436/0.4349, allocations: 0.8944 MB / 464.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4349, allocations: 0 / 464.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002227/0.4371, allocations: 0.8669 MB / 465.5 MB, free: 36.05 MB / 350.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 (109): * Single equations (assignments): 105 * 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.0003015/0.4374, allocations: 226 kB / 465.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.4397, allocations: 1.941 MB / 467.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4397, allocations: 4 kB / 467.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.4404, allocations: 0.6736 MB / 468.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.4421, allocations: 337.5 kB / 468.6 MB, free: 32.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.4504, allocations: 7.803 MB / 476.4 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.4523, allocations: 2.813 MB / 479.3 MB, free: 21.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001615/0.4539, allocations: 0.7615 MB / 480 MB, free: 21.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.4541, allocations: 115.4 kB / 480.1 MB, free: 21.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4541, allocations: 0 / 480.1 MB, free: 21.04 MB / 350.1 MB Notification: Performance of Templates: time 0.02391/0.478, allocations: 16.22 MB / 496.3 MB, free: 4.945 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches