Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 9.062 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 55.28 kB / 325.6 MB, free: 300 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08869, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01042/0.09911, allocations: 8.006 MB / 386.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.1041, allocations: 2.534 MB / 389.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/0.1047, allocations: 75.69 kB / 389.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008371/0.113, allocations: 3.672 MB / 393.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.1153, allocations: 0.7565 MB / 394 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.1173, allocations: 0.9073 MB / 394.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003993/0.1213, allocations: 3.642 MB / 398.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00813/0.1295, allocations: 6.125 MB / 404.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.1323, allocations: 2.139 MB / 406.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003654/0.136, allocations: 2.297 MB / 409.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009184/0.1369, allocations: 0.5859 MB / 409.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.1386, allocations: 0.8084 MB / 410.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.1396, allocations: 1.11 MB / 411.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.1416, allocations: 1.771 MB / 413.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007925/0.1495, allocations: 7.959 MB / 421.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1495, allocations: 0 / 421.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1495, allocations: 0 / 421.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.1497, allocations: 4 kB / 421.3 MB, free: 5.109 MB / 382.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.01156/0.1612, allocations: 4.857 MB / 426.2 MB, free: 200 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1613, allocations: 8.031 kB / 426.2 MB, free: 192 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008149/0.1694, allocations: 1.284 MB / 427.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.1738, allocations: 2.311 MB / 429.8 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.174, allocations: 316.4 kB / 430.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006325/0.1747, allocations: 411.9 kB / 430.5 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/0.1843, allocations: 5.502 MB / 436 MB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.16e-05/0.1844, allocations: 7.953 kB / 436 MB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.1848, allocations: 175.9 kB / 436.2 MB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.185, allocations: 184.6 kB / 436.3 MB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008641/0.1936, allocations: 4.792 MB / 441.1 MB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.2211, allocations: 16.33 MB / 457.5 MB, free: 216 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.2253, allocations: 1.749 MB / 459.2 MB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.2266, allocations: 0.7119 MB / 459.9 MB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.2268, allocations: 40.95 kB / 460 MB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.2268, allocations: 51.5 kB / 460 MB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.186e-06/0.2268, allocations: 0 / 460 MB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002675/0.2295, allocations: 1.565 MB / 461.6 MB, free: 12.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2296, allocations: 60.41 kB / 461.6 MB, free: 12.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.2316, allocations: 1.404 MB / 463 MB, free: 10.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.2317, allocations: 41.7 kB / 463.1 MB, free: 10.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.233, allocations: 1.819 MB / 464.9 MB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.2334, allocations: 388.9 kB / 465.3 MB, free: 8.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006573/0.234, allocations: 455.6 kB / 465.7 MB, free: 7.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2342, allocations: 349.9 kB / 466.1 MB, free: 7.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.2355, allocations: 0.8317 MB / 466.9 MB, free: 6.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.2377, allocations: 1.823 MB / 468.7 MB, free: 4.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/0.2412, allocations: 2.802 MB / 471.5 MB, free: 1.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.736e-05/0.2413, allocations: 16 kB / 471.5 MB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.1793/0.4205, allocations: 2.736 MB / 474.3 MB, free: 78.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.4206, allocations: 19.19 kB / 474.3 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/0.4206, allocations: 38.38 kB / 474.3 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.514e-05/0.4207, allocations: 47.94 kB / 474.4 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.4222, allocations: 0.5244 MB / 474.9 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.597e-05/0.4223, allocations: 68.17 kB / 475 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4235, allocations: 291.2 kB / 475.2 MB, free: 78.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.4236, allocations: 121.6 kB / 475.4 MB, free: 78.59 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.001966/0.4256, allocations: 1.482 MB / 476.8 MB, free: 78.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.4258, allocations: 125.8 kB / 477 MB, free: 78.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.428, allocations: 1.467 MB / 478.4 MB, free: 78.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00133/0.4293, allocations: 1.04 MB / 479.5 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4294, allocations: 1.281 kB / 479.5 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4294, allocations: 5.297 kB / 479.5 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.4409, allocations: 10.19 MB / 489.7 MB, free: 73.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.441, allocations: 26.28 kB / 489.7 MB, free: 73.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.4417, allocations: 237.2 kB / 489.9 MB, free: 73.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.4417, allocations: 30.38 kB / 490 MB, free: 73.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.4417, allocations: 51.41 kB / 490 MB, free: 73.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.4417, allocations: 41.7 kB / 490 MB, free: 73.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.4418, allocations: 30.94 kB / 490.1 MB, free: 73.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.444, allocations: 2.662 MB / 492.7 MB, free: 72.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.4444, allocations: 272.3 kB / 493 MB, free: 71.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4445, allocations: 52.61 kB / 493.1 MB, free: 71.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.4452, allocations: 70.48 kB / 493.1 MB, free: 71.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.4454, allocations: 149.6 kB / 493.3 MB, free: 71.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.4454, allocations: 61.72 kB / 493.3 MB, free: 71.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000836/0.4463, allocations: 0.9013 MB / 494.2 MB, free: 71.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4463, allocations: 3.969 kB / 494.2 MB, free: 71.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002086/0.4483, allocations: 0.8824 MB / 495.1 MB, free: 71.3 MB / 430.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.0002414/0.4486, allocations: 198.9 kB / 495.3 MB, free: 71.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.4505, allocations: 1.839 MB / 497.2 MB, free: 70.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.4505, allocations: 0 / 497.2 MB, free: 70.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.4511, allocations: 0.6196 MB / 497.8 MB, free: 69.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.4528, allocations: 342.8 kB / 498.1 MB, free: 69.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/0.4596, allocations: 6.448 MB / 0.4927 GB, free: 62.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.4612, allocations: 2.259 MB / 0.4949 GB, free: 60.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001344/0.4626, allocations: 0.7639 MB / 0.4957 GB, free: 59.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.4628, allocations: 116.5 kB / 0.4958 GB, free: 59.21 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4628, allocations: 0 / 0.4958 GB, free: 59.21 MB / 430.1 MB Notification: Performance of Templates: time 0.02328/0.4861, allocations: 15.94 MB / 0.5114 GB, free: 43.51 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.901947229052894]