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.001884/0.001884, allocations: 89.22 kB / 20.68 MB, free: 1.02 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.00232/0.00232, allocations: 158.6 kB / 23.95 MB, free: 4.152 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.454/1.454, allocations: 177 MB / 204.1 MB, free: 9.184 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 1.132e-06/1.132e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.12e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009921/0.009942, allocations: 8.019 MB / 333 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.01539, allocations: 2.534 MB / 335.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.01606, allocations: 79.62 kB / 335.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008275/0.02433, allocations: 3.682 MB / 339.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.02684, allocations: 0.7651 MB / 340.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.02891, allocations: 0.9093 MB / 341 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.03324, allocations: 3.785 MB / 344.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008202/0.04144, allocations: 6.144 MB / 350.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.04592, allocations: 3.179 MB / 354.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/0.04906, allocations: 2.054 MB / 356.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000857/0.04992, allocations: 0.582 MB / 356.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.05149, allocations: 0.8121 MB / 357.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.05255, allocations: 1.122 MB / 358.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.05464, allocations: 1.528 MB / 360.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008531/0.06317, allocations: 8.002 MB / 368.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.06317, allocations: 0 / 368.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.06317, allocations: 7.938 kB / 368.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001109/0.06329, allocations: 0 / 368.2 MB, free: 9.715 MB / 334.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.01151/0.07479, allocations: 4.818 MB / 373 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.07483, allocations: 15.98 kB / 373.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008257/0.08309, allocations: 1.29 MB / 374.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004142/0.08723, allocations: 2.305 MB / 376.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.08749, allocations: 320.8 kB / 377 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000694/0.08818, allocations: 411.9 kB / 377.4 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00972/0.0979, allocations: 5.502 MB / 382.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.09798, allocations: 0 / 382.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000432/0.09841, allocations: 176 kB / 383 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/0.0986, allocations: 176.6 kB / 383.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008477/0.1071, allocations: 4.796 MB / 388 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.134, allocations: 16.33 MB / 404.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.1383, allocations: 1.745 MB / 406.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.1396, allocations: 0.7148 MB / 406.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.1398, allocations: 44.95 kB / 406.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.1398, allocations: 43.56 kB / 406.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.246e-06/0.1398, allocations: 7.938 kB / 406.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.002644/0.1425, allocations: 1.565 MB / 408.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1425, allocations: 64.41 kB / 408.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.1446, allocations: 1.392 MB / 409.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.1446, allocations: 45.7 kB / 410 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.146, allocations: 1.823 MB / 411.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.1463, allocations: 376.9 kB / 412.1 MB, free: 13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/0.1469, allocations: 447.7 kB / 412.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1471, allocations: 349.9 kB / 412.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.1484, allocations: 0.8317 MB / 413.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.1506, allocations: 1.82 MB / 415.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.1542, allocations: 2.802 MB / 418.4 MB, free: 5.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.1543, allocations: 15.94 kB / 418.4 MB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004424/0.1587, allocations: 2.755 MB / 421.2 MB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.1587, allocations: 20 kB / 421.2 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/0.1588, allocations: 36 kB / 421.2 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.425e-05/0.1588, allocations: 48 kB / 421.3 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.1606, allocations: 0.5225 MB / 421.8 MB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.848e-05/0.1607, allocations: 67.73 kB / 421.8 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.162, allocations: 294.3 kB / 422.1 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.1622, allocations: 116 kB / 422.2 MB, free: 1.926 MB / 382.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.002253/0.1644, allocations: 1.477 MB / 423.7 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.1646, allocations: 131.1 kB / 423.8 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.1671, allocations: 1.461 MB / 425.3 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00161/0.1687, allocations: 1.045 MB / 426.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1687, allocations: 0 / 426.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.1687, allocations: 11.98 kB / 426.4 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.184, allocations: 10.17 MB / 436.5 MB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.1841, allocations: 24 kB / 436.6 MB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.185, allocations: 231.5 kB / 436.8 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.141e-05/0.185, allocations: 28.78 kB / 436.8 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.1851, allocations: 47.98 kB / 436.9 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.602e-05/0.1851, allocations: 47.8 kB / 436.9 MB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-05/0.1851, allocations: 35.81 kB / 436.9 MB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.1888, allocations: 2.63 MB / 439.6 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/0.1896, allocations: 262.9 kB / 439.8 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.1898, allocations: 55.84 kB / 439.9 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.1906, allocations: 68.02 kB / 440 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.1908, allocations: 147.3 kB / 440.1 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.1909, allocations: 60 kB / 440.2 MB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.1923, allocations: 0.9021 MB / 441.1 MB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1923, allocations: 3.938 kB / 441.1 MB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002664/0.1949, allocations: 0.8793 MB / 441.9 MB, free: 13.53 MB / 414.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.0004181/0.1953, allocations: 206.6 kB / 442.1 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.199, allocations: 1.841 MB / 444 MB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/0.199, allocations: 4 kB / 444 MB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.2, allocations: 0.616 MB / 444.6 MB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.2022, allocations: 338 kB / 444.9 MB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.2135, allocations: 6.378 MB / 451.3 MB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.2161, allocations: 2.255 MB / 453.6 MB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001816/0.2179, allocations: 0.7654 MB / 454.3 MB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.2182, allocations: 116.5 kB / 454.4 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2182, allocations: 0 / 454.4 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of Templates: time 0.03365/0.2519, allocations: 15.8 MB / 470.2 MB, free: 1.008 MB / 430.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/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: 5.07945304736495]