Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001322/0.001322, allocations: 84.7 kB / 20.68 MB, free: 1.027 MB / 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.001418/0.001418, allocations: 164.4 kB / 23.95 MB, free: 4.16 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.445/1.445, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.115e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01106/0.01108, allocations: 8.535 MB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.01709, allocations: 2.654 MB / 336.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.01812, allocations: 93.34 kB / 336.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009513/0.02763, allocations: 4.12 MB / 340.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.03079, allocations: 0.7969 MB / 341.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.0331, allocations: 0.934 MB / 342.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.03815, allocations: 4.231 MB / 346.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009724/0.04788, allocations: 7.062 MB / 353.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005969/0.05385, allocations: 3.6 MB / 357.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004396/0.05824, allocations: 2.277 MB / 359.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.06011, allocations: 0.6641 MB / 360 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.06285, allocations: 0.8902 MB / 360.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.06409, allocations: 1.258 MB / 362.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003037/0.06713, allocations: 1.704 MB / 363.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009735/0.07686, allocations: 9.011 MB / 372.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.07687, allocations: 0 / 372.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07687, allocations: 4 kB / 372.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001718/0.07704, allocations: 3.938 kB / 372.9 MB, free: 5.109 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.0143/0.09134, allocations: 5.292 MB / 378.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.09139, allocations: 8.031 kB / 378.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00821/0.0996, allocations: 1.321 MB / 379.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.1047, allocations: 2.597 MB / 382.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.105, allocations: 349.7 kB / 382.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008958/0.1059, allocations: 460.3 kB / 382.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.1179, allocations: 6.127 MB / 389 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/0.118, allocations: 7.953 kB / 389 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004836/0.1185, allocations: 192 kB / 389.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.1187, allocations: 193.5 kB / 389.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.1292, allocations: 5.276 MB / 394.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/0.1617, allocations: 17.77 MB / 412.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005521/0.1673, allocations: 2.078 MB / 414.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.1683, allocations: 0.5883 MB / 415.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.1684, allocations: 48.89 kB / 415.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.1685, allocations: 43.56 kB / 415.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 3.587e-06/0.1685, allocations: 0 / 415.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.00245/0.1709, allocations: 1.437 MB / 416.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.171, allocations: 60.41 kB / 416.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.1734, allocations: 1.531 MB / 418.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.1735, allocations: 41.7 kB / 418.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.175, allocations: 2.037 MB / 420.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.1754, allocations: 357.1 kB / 420.7 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006893/0.1761, allocations: 475.8 kB / 421.1 MB, free: 4.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1762, allocations: 349.9 kB / 421.5 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.1775, allocations: 0.8202 MB / 422.3 MB, free: 2.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.1797, allocations: 1.937 MB / 424.2 MB, free: 420 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/0.1834, allocations: 2.931 MB / 427.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-05/0.1835, allocations: 12 kB / 427.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004732/0.1882, allocations: 2.81 MB / 430 MB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.1882, allocations: 20 kB / 430 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-05/0.1883, allocations: 40 kB / 430.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.677e-05/0.1883, allocations: 56 kB / 430.1 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.1901, allocations: 0.5342 MB / 430.6 MB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.619e-05/0.1902, allocations: 75.72 kB / 430.7 MB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.1917, allocations: 306.1 kB / 431 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.1919, allocations: 128 kB / 431.1 MB, free: 8.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.00262/0.1945, allocations: 1.66 MB / 432.8 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.1948, allocations: 143 kB / 432.9 MB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.1972, allocations: 1.341 MB / 434.3 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001453/0.1986, allocations: 0.9396 MB / 435.2 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1986, allocations: 0 / 435.2 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1986, allocations: 7.984 kB / 435.2 MB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.2145, allocations: 10.17 MB / 445.4 MB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-05/0.2146, allocations: 24.06 kB / 445.4 MB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008344/0.2154, allocations: 215.6 kB / 445.6 MB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-05/0.2155, allocations: 27.94 kB / 445.7 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/0.2156, allocations: 51.98 kB / 445.7 MB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.295e-05/0.2156, allocations: 35.86 kB / 445.7 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-05/0.2156, allocations: 31.88 kB / 445.8 MB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/0.2193, allocations: 2.42 MB / 448.2 MB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.2201, allocations: 258.9 kB / 448.4 MB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.2203, allocations: 43.98 kB / 448.5 MB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/0.221, allocations: 59.95 kB / 448.5 MB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.2212, allocations: 139.3 kB / 448.7 MB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.2213, allocations: 59.94 kB / 448.7 MB, free: 6.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001668/0.223, allocations: 0.9875 MB / 449.7 MB, free: 5.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.223, allocations: 0 / 449.7 MB, free: 5.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002967/0.2259, allocations: 0.953 MB / 450.7 MB, free: 4.762 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0004345/0.2264, allocations: 202.7 kB / 450.9 MB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.2295, allocations: 1.794 MB / 452.7 MB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/0.2295, allocations: 7.938 kB / 452.7 MB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.2304, allocations: 0.56 MB / 453.2 MB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.2329, allocations: 383.2 kB / 453.6 MB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.2472, allocations: 6.844 MB / 460.5 MB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/0.2507, allocations: 2.533 MB / 463 MB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001885/0.2526, allocations: 0.817 MB / 463.8 MB, free: 7.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.2529, allocations: 120.5 kB / 463.9 MB, free: 7.164 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2529, allocations: 3.938 kB / 463.9 MB, free: 7.16 MB / 430.1 MB Notification: Performance of Templates: time 0.2004/0.4533, allocations: 16.86 MB / 480.8 MB, free: 120.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.107517026364803]