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.001664/0.001664, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001849/0.001849, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.442/1.442, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.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.00158/0.00158, allocations: 46.39 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.08482, allocations: 52.17 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01045/0.09527, allocations: 7.994 MB / 379.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.1003, allocations: 2.472 MB / 382 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.1009, allocations: 75.62 kB / 382.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008178/0.109, allocations: 3.682 MB / 385.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.1116, allocations: 0.8971 MB / 386.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.1133, allocations: 0.7628 MB / 387.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003919/0.1173, allocations: 3.657 MB / 391.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007935/0.1252, allocations: 6.125 MB / 397.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.1277, allocations: 2.131 MB / 399.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.1308, allocations: 2.297 MB / 401.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007401/0.1315, allocations: 0.582 MB / 402.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.1329, allocations: 0.7966 MB / 403 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.1339, allocations: 1.103 MB / 404.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.1358, allocations: 1.774 MB / 405.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007907/0.1437, allocations: 7.947 MB / 413.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1437, allocations: 0 / 413.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1437, allocations: 0 / 413.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.1438, allocations: 0 / 413.9 MB, free: 12.83 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.01136/0.1552, allocations: 4.854 MB / 418.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1552, allocations: 15.97 kB / 418.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007486/0.1627, allocations: 1.286 MB / 420 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.1669, allocations: 2.302 MB / 422.3 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.1671, allocations: 316.4 kB / 422.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006083/0.1677, allocations: 408 kB / 423 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009275/0.177, allocations: 5.494 MB / 428.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.961e-05/0.1771, allocations: 7.953 kB / 428.5 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.1775, allocations: 176 kB / 428.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.1777, allocations: 184.5 kB / 428.9 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007922/0.1856, allocations: 4.788 MB / 433.7 MB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.209, allocations: 16.31 MB / 450 MB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.213, allocations: 1.741 MB / 451.7 MB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.2143, allocations: 0.711 MB / 452.4 MB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.2144, allocations: 32.97 kB / 452.5 MB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2144, allocations: 43.56 kB / 452.5 MB, free: 5.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.966e-06/0.2144, allocations: 0 / 452.5 MB, free: 5.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002413/0.2168, allocations: 1.558 MB / 454.1 MB, free: 3.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2169, allocations: 64.34 kB / 454.1 MB, free: 3.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.2187, allocations: 1.4 MB / 455.5 MB, free: 2.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.2188, allocations: 45.7 kB / 455.6 MB, free: 2.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.22, allocations: 1.815 MB / 457.4 MB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.2203, allocations: 388.9 kB / 457.8 MB, free: 140 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006144/0.221, allocations: 451.6 kB / 458.2 MB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2211, allocations: 349.9 kB / 458.6 MB, free: 15.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.2223, allocations: 0.8318 MB / 459.4 MB, free: 14.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.2244, allocations: 1.823 MB / 461.2 MB, free: 12.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.2277, allocations: 2.798 MB / 464 MB, free: 8.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.2277, allocations: 12 kB / 464 MB, free: 8.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004052/0.2318, allocations: 2.735 MB / 466.8 MB, free: 6.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.2318, allocations: 19.94 kB / 466.8 MB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/0.2319, allocations: 44.08 kB / 466.8 MB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.702e-05/0.2319, allocations: 48 kB / 466.9 MB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.2336, allocations: 0.5186 MB / 467.4 MB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.08e-05/0.2337, allocations: 67.73 kB / 467.5 MB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.2349, allocations: 294 kB / 467.7 MB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.235, allocations: 112 kB / 467.9 MB, free: 5.078 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.00204/0.2371, allocations: 1.488 MB / 469.3 MB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.2373, allocations: 127.2 kB / 469.5 MB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.2396, allocations: 1.465 MB / 470.9 MB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001498/0.2411, allocations: 1.033 MB / 472 MB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2411, allocations: 0 / 472 MB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.2411, allocations: 7.984 kB / 472 MB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1807/0.4218, allocations: 10.05 MB / 482 MB, free: 83.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/0.4218, allocations: 20.66 kB / 482 MB, free: 83.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/0.4226, allocations: 233.3 kB / 482.3 MB, free: 83.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/0.4226, allocations: 30.62 kB / 482.3 MB, free: 83.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.458e-05/0.4227, allocations: 52.34 kB / 482.4 MB, free: 83.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.741e-05/0.4227, allocations: 41.53 kB / 482.4 MB, free: 83.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.4228, allocations: 35.19 kB / 482.4 MB, free: 83.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.4253, allocations: 2.66 MB / 485.1 MB, free: 82.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/0.4258, allocations: 262.4 kB / 485.3 MB, free: 82.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.426, allocations: 47.36 kB / 485.4 MB, free: 82.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.4267, allocations: 71.88 kB / 485.5 MB, free: 82.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4268, allocations: 142 kB / 485.6 MB, free: 82.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.4269, allocations: 62.97 kB / 485.7 MB, free: 82.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009717/0.4279, allocations: 0.9014 MB / 486.6 MB, free: 81.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4279, allocations: 0 / 486.6 MB, free: 81.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002019/0.4299, allocations: 0.8851 MB / 487.4 MB, free: 81.57 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.0002673/0.4302, allocations: 220.8 kB / 487.7 MB, free: 81.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.4321, allocations: 1.831 MB / 489.5 MB, free: 80.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4321, allocations: 7.438 kB / 489.5 MB, free: 80.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.4327, allocations: 0.6134 MB / 490.1 MB, free: 80.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.4344, allocations: 334.7 kB / 490.4 MB, free: 80.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007121/0.4415, allocations: 6.488 MB / 496.9 MB, free: 76.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.4432, allocations: 2.268 MB / 499.2 MB, free: 74.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001319/0.4445, allocations: 0.7614 MB / 500 MB, free: 73.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.4448, allocations: 108.5 kB / 0.4883 GB, free: 73.61 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4448, allocations: 0 / 0.4883 GB, free: 73.61 MB / 430.1 MB Notification: Performance of Templates: time 0.02311/0.4679, allocations: 15.83 MB / 0.5038 GB, free: 58.04 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.903326282044873]