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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 183.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 252.5 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 47.92 kB / 370.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2352, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01155/0.2467, allocations: 9.205 MB / 432.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005403/0.2521, allocations: 2.6 MB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.2534, allocations: 79.62 kB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008641/0.262, allocations: 3.773 MB / 438.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.2649, allocations: 0.9274 MB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.2669, allocations: 0.8115 MB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004185/0.2711, allocations: 3.646 MB / 444.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007754/0.2788, allocations: 5.888 MB / 450 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.2813, allocations: 2.132 MB / 452.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/0.2843, allocations: 2.39 MB / 454.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007735/0.2851, allocations: 0.5859 MB / 455.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.2865, allocations: 0.7967 MB / 456 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2875, allocations: 1.111 MB / 457.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.29, allocations: 2.28 MB / 459.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008283/0.2983, allocations: 7.91 MB / 467.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.2983, allocations: 0 / 467.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2983, allocations: 0 / 467.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.2985, allocations: 0 / 467.3 MB, free: 2.328 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.01373/0.3122, allocations: 4.861 MB / 472.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3123, allocations: 8.031 kB / 472.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008228/0.3205, allocations: 1.286 MB / 473.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.3256, allocations: 2.309 MB / 475.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.3259, allocations: 312.4 kB / 476 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.327, allocations: 415.9 kB / 476.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.3406, allocations: 5.465 MB / 481.9 MB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.3407, allocations: 3.953 kB / 481.9 MB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006398/0.3414, allocations: 172 kB / 482.1 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/0.3416, allocations: 180.5 kB / 482.2 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009645/0.3512, allocations: 4.8 MB / 487 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0297/0.3809, allocations: 18.52 MB / 0.4937 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.385, allocations: 1.757 MB / 0.4954 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.3864, allocations: 0.7223 MB / 0.4961 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.3865, allocations: 40.95 kB / 0.4962 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.3865, allocations: 43.56 kB / 0.4962 GB, free: 8.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.966e-06/0.3865, allocations: 0 / 0.4962 GB, free: 8.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002603/0.3891, allocations: 1.558 MB / 0.4977 GB, free: 7.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3892, allocations: 64.41 kB / 0.4978 GB, free: 7.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.3912, allocations: 1.338 MB / 0.4991 GB, free: 5.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.3913, allocations: 41.7 kB / 0.4991 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.3927, allocations: 1.823 MB / 0.5009 GB, free: 3.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.3931, allocations: 388.8 kB / 0.5013 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006758/0.3938, allocations: 447.7 kB / 0.5017 GB, free: 3.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.394, allocations: 357.9 kB / 0.5021 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.3953, allocations: 0.8279 MB / 0.5029 GB, free: 1.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.3974, allocations: 1.816 MB / 0.5046 GB, free: 15.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003505/0.4009, allocations: 2.798 MB / 0.5074 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/0.4009, allocations: 12 kB / 0.5074 GB, free: 12.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00443/0.4053, allocations: 2.735 MB / 0.5101 GB, free: 9.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.4054, allocations: 23.94 kB / 0.5101 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.03e-05/0.4054, allocations: 32 kB / 0.5101 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.872e-05/0.4055, allocations: 48 kB / 0.5102 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.4072, allocations: 0.5226 MB / 0.5107 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-05/0.4073, allocations: 71.72 kB / 0.5107 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4086, allocations: 298.4 kB / 0.511 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.4088, allocations: 112 kB / 0.5111 GB, free: 8.402 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.002161/0.4109, allocations: 1.484 MB / 0.5126 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.4112, allocations: 127.2 kB / 0.5127 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.4136, allocations: 1.466 MB / 0.5141 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001537/0.4151, allocations: 1.033 MB / 0.5151 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4151, allocations: 0 / 0.5151 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4151, allocations: 7.984 kB / 0.5151 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.4314, allocations: 10.95 MB / 0.5258 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/0.4314, allocations: 20 kB / 0.5259 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.4323, allocations: 235.5 kB / 0.5261 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.982e-05/0.4323, allocations: 32.03 kB / 0.5261 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/0.4324, allocations: 44 kB / 0.5262 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.351e-05/0.4324, allocations: 39.86 kB / 0.5262 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-05/0.4324, allocations: 31.88 kB / 0.5262 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.436, allocations: 2.656 MB / 0.5288 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.4368, allocations: 270.9 kB / 0.5291 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.437, allocations: 55.92 kB / 0.5291 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.438, allocations: 67.94 kB / 0.5292 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.4382, allocations: 151.2 kB / 0.5293 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.4383, allocations: 52 kB / 0.5294 GB, free: 4.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.4398, allocations: 0.9101 MB / 0.5303 GB, free: 4.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4398, allocations: 0 / 0.5303 GB, free: 4.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002713/0.4425, allocations: 0.8832 MB / 0.5311 GB, free: 3.191 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.0004097/0.4429, allocations: 226.5 kB / 0.5314 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.4459, allocations: 1.827 MB / 0.5331 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.4459, allocations: 6 kB / 0.5331 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.4469, allocations: 0.6131 MB / 0.5337 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.449, allocations: 339.2 kB / 0.5341 GB, free: 200 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/0.6485, allocations: 6.479 MB / 0.5404 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.6507, allocations: 2.811 MB / 0.5431 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00156/0.6523, allocations: 0.7629 MB / 0.5439 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.6526, allocations: 110 kB / 0.544 GB, free: 101.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6526, allocations: 2.625 kB / 0.544 GB, free: 101.4 MB / 446.1 MB Notification: Performance of Templates: time 0.02964/0.6822, allocations: 19.04 MB / 0.5626 GB, free: 87.63 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188409075140953]