Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 77.86 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 159.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 62.59 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1031, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01091/0.114, allocations: 8.009 MB / 386.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.1196, allocations: 2.546 MB / 389.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009945/0.1205, allocations: 79.62 kB / 389.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008667/0.1292, allocations: 3.671 MB / 393.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.1321, allocations: 0.7494 MB / 394 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.1343, allocations: 0.8918 MB / 394.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004537/0.1389, allocations: 3.661 MB / 398.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008441/0.1473, allocations: 6.117 MB / 404.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.1503, allocations: 2.147 MB / 406.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/0.1538, allocations: 2.289 MB / 409.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000851/0.1546, allocations: 0.582 MB / 409.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1563, allocations: 0.8083 MB / 410.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1573, allocations: 1.111 MB / 411.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.1595, allocations: 1.771 MB / 413.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008192/0.1677, allocations: 7.974 MB / 421.3 MB, free: 4.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1677, allocations: 0 / 421.3 MB, free: 4.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1677, allocations: 0 / 421.3 MB, free: 4.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.1678, allocations: 0 / 421.3 MB, free: 4.867 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.01138/0.1792, allocations: 4.854 MB / 426.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1792, allocations: 15.98 kB / 426.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008035/0.1872, allocations: 1.282 MB / 427.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.1918, allocations: 2.313 MB / 429.8 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.1921, allocations: 312.4 kB / 430.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006287/0.1927, allocations: 415.9 kB / 430.5 MB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009807/0.2025, allocations: 5.502 MB / 436 MB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.673e-05/0.2026, allocations: 0 / 436 MB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/0.203, allocations: 172 kB / 436.2 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.2032, allocations: 176.6 kB / 436.3 MB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.2137, allocations: 4.796 MB / 441.1 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/0.2555, allocations: 16.34 MB / 457.5 MB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006293/0.2618, allocations: 1.741 MB / 459.2 MB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.2638, allocations: 0.7187 MB / 459.9 MB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.264, allocations: 44.95 kB / 460 MB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/0.2641, allocations: 47.5 kB / 460 MB, free: 13.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 5.249e-06/0.2641, allocations: 3.938 kB / 460 MB, free: 13.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.004013/0.2681, allocations: 1.565 MB / 461.6 MB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.2681, allocations: 64.41 kB / 461.7 MB, free: 11.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.2713, allocations: 1.396 MB / 463.1 MB, free: 10.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.2714, allocations: 41.7 kB / 463.1 MB, free: 10.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/0.2733, allocations: 1.827 MB / 464.9 MB, free: 8.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/0.2738, allocations: 384.9 kB / 465.3 MB, free: 8.105 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.275, allocations: 451.7 kB / 465.7 MB, free: 7.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003145/0.2753, allocations: 353.9 kB / 466.1 MB, free: 7.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.2774, allocations: 0.8279 MB / 466.9 MB, free: 6.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/0.2807, allocations: 1.831 MB / 468.7 MB, free: 4.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005658/0.2864, allocations: 2.794 MB / 471.5 MB, free: 0.8945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.2864, allocations: 12 kB / 471.6 MB, free: 0.8828 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.2007/0.4871, allocations: 2.742 MB / 474.3 MB, free: 78.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.4871, allocations: 18.62 kB / 474.3 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.4872, allocations: 36.88 kB / 474.3 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.106e-05/0.4872, allocations: 47.72 kB / 474.4 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.4888, allocations: 0.5207 MB / 474.9 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.35e-05/0.4889, allocations: 73.39 kB / 475 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.4902, allocations: 291.3 kB / 475.3 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4903, allocations: 116.1 kB / 475.4 MB, free: 78.54 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.002116/0.4925, allocations: 1.482 MB / 476.9 MB, free: 78.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.4927, allocations: 126.5 kB / 477 MB, free: 78.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.4949, allocations: 1.465 MB / 478.5 MB, free: 78.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001405/0.4963, allocations: 1.041 MB / 479.5 MB, free: 77.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4963, allocations: 0 / 479.5 MB, free: 77.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.4963, allocations: 5.25 kB / 479.5 MB, free: 77.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.5088, allocations: 10.2 MB / 489.7 MB, free: 73.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.5089, allocations: 21.03 kB / 489.7 MB, free: 73.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.5096, allocations: 225.3 kB / 489.9 MB, free: 73.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.5096, allocations: 31 kB / 490 MB, free: 73.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.5097, allocations: 53.95 kB / 490 MB, free: 73.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.5097, allocations: 42.42 kB / 490.1 MB, free: 73.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.5097, allocations: 35.06 kB / 490.1 MB, free: 73.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.5121, allocations: 2.66 MB / 492.8 MB, free: 71.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.5126, allocations: 272.3 kB / 493 MB, free: 71.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5127, allocations: 51.31 kB / 493.1 MB, free: 71.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.5134, allocations: 74 kB / 493.1 MB, free: 71.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.5136, allocations: 147.5 kB / 493.3 MB, free: 71.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.5137, allocations: 64.19 kB / 493.4 MB, free: 71.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009202/0.5146, allocations: 0.9024 MB / 494.3 MB, free: 71.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5146, allocations: 0 / 494.3 MB, free: 71.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00247/0.517, allocations: 0.8736 MB / 495.1 MB, free: 71.2 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.0003546/0.5174, allocations: 208.6 kB / 495.3 MB, free: 71.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.5195, allocations: 1.837 MB / 497.2 MB, free: 69.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.5195, allocations: 4.375 kB / 497.2 MB, free: 69.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.5202, allocations: 0.6118 MB / 497.8 MB, free: 69.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.522, allocations: 348.2 kB / 498.1 MB, free: 68.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.5295, allocations: 6.45 MB / 0.4928 GB, free: 61.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.5313, allocations: 2.259 MB / 0.495 GB, free: 59.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001384/0.5326, allocations: 0.764 MB / 0.4957 GB, free: 58.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.5329, allocations: 116.5 kB / 0.4958 GB, free: 58.78 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5329, allocations: 4 kB / 0.4958 GB, free: 58.77 MB / 430.1 MB Notification: Performance of Templates: time 0.024/0.5569, allocations: 15.92 MB / 0.5114 GB, free: 43.06 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.95223100495059]