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.001308/0.001308, allocations: 107.1 kB / 17.74 MB, free: 5.297 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.001273/0.001273, allocations: 188.2 kB / 18.67 MB, free: 4.375 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 47.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2425, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01067/0.2532, allocations: 9.12 MB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005485/0.2587, allocations: 2.569 MB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.2602, allocations: 67.81 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008383/0.2687, allocations: 3.742 MB / 416.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.2722, allocations: 0.8971 MB / 417.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.2745, allocations: 0.7919 MB / 418.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004566/0.2791, allocations: 3.634 MB / 422.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01444/0.2935, allocations: 9.519 MB / 431.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.2966, allocations: 2.092 MB / 433.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003716/0.3003, allocations: 2.375 MB / 436.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.302, allocations: 0.5859 MB / 436.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.3045, allocations: 0.7927 MB / 437.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.3063, allocations: 1.114 MB / 438.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003936/0.3102, allocations: 2.272 MB / 441 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008672/0.3189, allocations: 7.888 MB / 448.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.319, allocations: 0 / 448.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.319, allocations: 0 / 448.9 MB, free: 9.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000185/0.3192, allocations: 8 kB / 448.9 MB, free: 9.207 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.01307/0.3323, allocations: 4.845 MB / 453.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3323, allocations: 15.89 kB / 453.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007617/0.3399, allocations: 1.265 MB / 455 MB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/0.3444, allocations: 2.311 MB / 457.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.3447, allocations: 312.4 kB / 457.6 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009629/0.3456, allocations: 412 kB / 458 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.3561, allocations: 5.469 MB / 463.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.3562, allocations: 4 kB / 463.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.3566, allocations: 171.9 kB / 463.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.3568, allocations: 184.5 kB / 463.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009355/0.3662, allocations: 4.796 MB / 468.6 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.3939, allocations: 19.04 MB / 487.7 MB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/0.3985, allocations: 3.895 MB / 491.6 MB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.3997, allocations: 0.777 MB / 492.4 MB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.3999, allocations: 110.1 kB / 492.5 MB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4, allocations: 47.55 kB / 492.5 MB, free: 12.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.855e-06/0.4, allocations: 0 / 492.5 MB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.00232/0.4023, allocations: 1.549 MB / 494.1 MB, free: 10.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4023, allocations: 60.41 kB / 494.1 MB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.4041, allocations: 1.338 MB / 495.5 MB, free: 9.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.4042, allocations: 41.7 kB / 495.5 MB, free: 9.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.4053, allocations: 1.757 MB / 497.3 MB, free: 7.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.4056, allocations: 363 kB / 497.6 MB, free: 7.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005741/0.4062, allocations: 447.4 kB / 498 MB, free: 6.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4063, allocations: 349.9 kB / 498.4 MB, free: 6.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.4074, allocations: 0.8318 MB / 499.2 MB, free: 5.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.4092, allocations: 1.835 MB / 0.4893 GB, free: 3.125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.4121, allocations: 2.79 MB / 0.492 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/0.4121, allocations: 12 kB / 0.492 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003865/0.416, allocations: 2.73 MB / 0.4947 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.4161, allocations: 20 kB / 0.4947 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/0.4161, allocations: 36 kB / 0.4948 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-05/0.4162, allocations: 48.81 kB / 0.4948 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.4178, allocations: 0.5265 MB / 0.4953 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.286e-05/0.4178, allocations: 71.72 kB / 0.4954 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.419, allocations: 285.2 kB / 0.4957 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.4192, allocations: 108 kB / 0.4958 GB, free: 12.03 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.002085/0.4213, allocations: 1.492 MB / 0.4972 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4215, allocations: 118.5 kB / 0.4973 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.4237, allocations: 1.462 MB / 0.4988 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001356/0.4251, allocations: 1.033 MB / 0.4998 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4251, allocations: 0 / 0.4998 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4251, allocations: 3.984 kB / 0.4998 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.4401, allocations: 12.29 MB / 0.5118 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.4401, allocations: 20 kB / 0.5118 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.4409, allocations: 231.5 kB / 0.512 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-05/0.441, allocations: 28 kB / 0.512 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.441, allocations: 44 kB / 0.5121 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.701e-05/0.4411, allocations: 43.84 kB / 0.5121 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/0.4411, allocations: 31.88 kB / 0.5122 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.444, allocations: 2.656 MB / 0.5148 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.4445, allocations: 327.2 kB / 0.5151 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.4447, allocations: 55.97 kB / 0.5151 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.4454, allocations: 63.95 kB / 0.5152 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4456, allocations: 147.3 kB / 0.5153 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.4457, allocations: 55.94 kB / 0.5154 GB, free: 6.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.4468, allocations: 0.914 MB / 0.5163 GB, free: 5.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4468, allocations: 0 / 0.5163 GB, free: 5.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00244/0.4493, allocations: 0.8662 MB / 0.5171 GB, free: 5.086 MB / 446.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.0003538/0.4496, allocations: 218.6 kB / 0.5173 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.4524, allocations: 1.919 MB / 0.5192 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.4524, allocations: 4 kB / 0.5192 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.4532, allocations: 0.6238 MB / 0.5198 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.4553, allocations: 353.7 kB / 0.5201 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/0.4647, allocations: 6.277 MB / 0.5263 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/0.4671, allocations: 2.731 MB / 0.5289 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000485/0.4676, allocations: 135.4 kB / 0.5291 GB, free: 8.473 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4676, allocations: 4 kB / 0.5291 GB, free: 8.469 MB / 462.1 MB Notification: Performance of Templates: time 0.2262/0.6939, allocations: 35.44 MB / 0.5637 GB, free: 109.5 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/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