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.001538/0.001538, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001758/0.001758, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.36/1.36, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 51.02 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09077, allocations: 49.45 MB / 349.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009096/0.09991, allocations: 9.015 MB / 358.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.1044, allocations: 2.546 MB / 361.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.1049, allocations: 63.88 kB / 361.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006923/0.1119, allocations: 3.544 MB / 364.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.1144, allocations: 0.8007 MB / 365.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1159, allocations: 0.7346 MB / 366.3 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.1194, allocations: 3.584 MB / 369.9 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1615/0.2809, allocations: 11.07 MB / 380.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.2833, allocations: 2.116 MB / 383.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.2854, allocations: 2.39 MB / 385.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005427/0.286, allocations: 0.5849 MB / 386 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.2871, allocations: 0.801 MB / 386.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007025/0.2878, allocations: 1.111 MB / 387.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.2894, allocations: 2.288 MB / 390.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.2941, allocations: 7.845 MB / 398.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2941, allocations: 0 / 398.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.2941, allocations: 3.984 kB / 398.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.838e-05/0.2941, allocations: 0 / 398.1 MB, free: 15.01 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.009878/0.304, allocations: 4.87 MB / 402.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3041, allocations: 11.89 kB / 403 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007543/0.3116, allocations: 1.265 MB / 404.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.3153, allocations: 2.235 MB / 406.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.3155, allocations: 315.9 kB / 406.8 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005942/0.3161, allocations: 415.9 kB / 407.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/0.3254, allocations: 5.488 MB / 412.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.374e-05/0.3255, allocations: 11.89 kB / 412.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000392/0.3259, allocations: 167.8 kB / 412.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.3261, allocations: 180.6 kB / 413 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007611/0.3337, allocations: 4.82 MB / 417.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/0.3566, allocations: 19.3 MB / 437.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.3612, allocations: 3.933 MB / 441.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.3625, allocations: 0.8183 MB / 441.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3626, allocations: 114 kB / 442 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3627, allocations: 43.5 kB / 442 MB, free: 3.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 2.975e-06/0.3627, allocations: 0 / 442 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002368/0.365, allocations: 1.68 MB / 443.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3651, allocations: 64.39 kB / 443.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.3667, allocations: 1.334 MB / 445.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.3668, allocations: 41.7 kB / 445.2 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009997/0.3678, allocations: 1.755 MB / 446.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.3681, allocations: 384 kB / 447.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/0.3686, allocations: 447.6 kB / 447.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3688, allocations: 345.9 kB / 448.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.37, allocations: 0.8787 MB / 448.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.3718, allocations: 1.863 MB / 450.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.3748, allocations: 2.877 MB / 453.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.3749, allocations: 12 kB / 453.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.00374/0.3786, allocations: 2.807 MB / 456.5 MB, free: 4.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.3787, allocations: 23.94 kB / 456.5 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.3787, allocations: 40.12 kB / 456.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.853e-05/0.3788, allocations: 47.94 kB / 456.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.3803, allocations: 0.5266 MB / 457.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.877e-05/0.3804, allocations: 65.19 kB / 457.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3816, allocations: 289.2 kB / 457.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.3817, allocations: 116 kB / 457.6 MB, free: 3.445 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.3835, allocations: 1.485 MB / 459.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.3836, allocations: 126.4 kB / 459.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.3859, allocations: 1.542 MB / 460.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00148/0.3874, allocations: 1.118 MB / 461.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3874, allocations: 0 / 461.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3874, allocations: 7.984 kB / 461.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.4016, allocations: 12.38 MB / 474.3 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/0.4016, allocations: 24 kB / 474.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.4024, allocations: 226.8 kB / 474.5 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.486e-05/0.4025, allocations: 32 kB / 474.5 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/0.4025, allocations: 51.97 kB / 474.6 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.528e-05/0.4026, allocations: 42.48 kB / 474.6 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.211e-05/0.4026, allocations: 36.56 kB / 474.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.4057, allocations: 2.794 MB / 477.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.4062, allocations: 335.2 kB / 477.8 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4064, allocations: 55.89 kB / 477.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/0.4071, allocations: 71.88 kB / 477.9 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.4073, allocations: 145 kB / 478 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.023e-05/0.4074, allocations: 56 kB / 478.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.4084, allocations: 0.9062 MB / 479 MB, free: 13.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4085, allocations: 0 / 479 MB, free: 13.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002107/0.4106, allocations: 0.8741 MB / 479.9 MB, free: 12.37 MB / 398.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 (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.0003277/0.4109, allocations: 218.2 kB / 480.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.4138, allocations: 2.014 MB / 482.1 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.4138, allocations: 0 / 482.1 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.4147, allocations: 0.6746 MB / 482.8 MB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.4166, allocations: 361 kB / 483.1 MB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.4282, allocations: 8.109 MB / 491.2 MB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/0.4311, allocations: 2.809 MB / 494.1 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001909/0.433, allocations: 0.7617 MB / 494.8 MB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.4333, allocations: 111.4 kB / 494.9 MB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4333, allocations: 0 / 494.9 MB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.0307/0.464, allocations: 17.27 MB / 0.5002 GB, free: 12.16 MB / 430.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