Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001319/0.001319, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 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.00137/0.00137, allocations: 151.1 kB / 23.94 MB, free: 4.164 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 / 200.4 MB, free: 12.88 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.448e-05, allocations: 2.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.00952/0.009545, allocations: 8.505 MB / 327.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006184/0.01573, allocations: 2.593 MB / 330 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.01682, allocations: 90.97 kB / 330.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.02692, allocations: 4.134 MB / 334.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.03152, allocations: 0.9325 MB / 335.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.03455, allocations: 0.8072 MB / 336 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006098/0.04064, allocations: 4.225 MB / 340.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.05431, allocations: 7.067 MB / 347.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006758/0.06107, allocations: 3.585 MB / 350.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.06542, allocations: 2.277 MB / 353.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.0669, allocations: 0.6641 MB / 353.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.06933, allocations: 0.8707 MB / 354.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.07061, allocations: 1.27 MB / 356 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.07334, allocations: 1.704 MB / 357.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009858/0.0832, allocations: 8.988 MB / 366.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.08321, allocations: 0 / 366.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.08321, allocations: 0 / 366.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002176/0.08343, allocations: 4 kB / 366.6 MB, free: 11.75 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.01391/0.09734, allocations: 5.292 MB / 371.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.09739, allocations: 12.02 kB / 371.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007868/0.1053, allocations: 1.313 MB / 373.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006451/0.1117, allocations: 2.601 MB / 375.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/0.1121, allocations: 345.8 kB / 376.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.1135, allocations: 456.4 kB / 376.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.1259, allocations: 6.123 MB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-05/0.126, allocations: 3.953 kB / 382.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004677/0.1265, allocations: 188 kB / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/0.1267, allocations: 193.5 kB / 383.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009625/0.1363, allocations: 5.264 MB / 388.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02987/0.1662, allocations: 17.75 MB / 406.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.1715, allocations: 2.07 MB / 408.2 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.1725, allocations: 0.6039 MB / 408.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.1726, allocations: 32.91 kB / 408.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.1727, allocations: 43.56 kB / 408.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/0.1727, allocations: 0 / 408.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002479/0.1751, allocations: 1.429 MB / 410.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.1752, allocations: 60.41 kB / 410.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.1775, allocations: 1.523 MB / 411.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.1776, allocations: 45.64 kB / 412 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.1792, allocations: 2.037 MB / 414 MB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.1795, allocations: 357.1 kB / 414.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006676/0.1802, allocations: 467.9 kB / 414.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1804, allocations: 357.9 kB / 415.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.1816, allocations: 0.8085 MB / 416 MB, free: 9.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.1838, allocations: 1.941 MB / 417.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.1874, allocations: 2.92 MB / 420.8 MB, free: 3.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-05/0.1874, allocations: 12 kB / 420.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004451/0.1919, allocations: 2.802 MB / 423.6 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.1919, allocations: 20 kB / 423.7 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.655e-05/0.192, allocations: 40 kB / 423.7 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.838e-05/0.1921, allocations: 55.98 kB / 423.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.1938, allocations: 0.5342 MB / 424.3 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.838e-05/0.1938, allocations: 79.72 kB / 424.4 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.1953, allocations: 302.5 kB / 424.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.1955, allocations: 124 kB / 424.8 MB, free: 15.7 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.003219/0.1987, allocations: 1.66 MB / 426.4 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.199, allocations: 142.9 kB / 426.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.2014, allocations: 1.345 MB / 427.9 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00138/0.2027, allocations: 0.9318 MB / 428.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2027, allocations: 0 / 428.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.2028, allocations: 7.984 kB / 428.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.2176, allocations: 10.07 MB / 438.9 MB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/0.2176, allocations: 16 kB / 439 MB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.2184, allocations: 211.6 kB / 439.2 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.839e-05/0.2184, allocations: 24.81 kB / 439.2 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/0.2185, allocations: 51.92 kB / 439.2 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.388e-05/0.2185, allocations: 43.8 kB / 439.3 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-05/0.2186, allocations: 27.88 kB / 439.3 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.2218, allocations: 2.424 MB / 441.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.2224, allocations: 246.8 kB / 442 MB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.2225, allocations: 47.97 kB / 442 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.2233, allocations: 63.95 kB / 442.1 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.2234, allocations: 139.4 kB / 442.2 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.2235, allocations: 59.92 kB / 442.3 MB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.225, allocations: 0.9914 MB / 443.3 MB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.225, allocations: 0 / 443.3 MB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002648/0.2276, allocations: 0.9491 MB / 444.2 MB, free: 11.62 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.0003848/0.228, allocations: 210.7 kB / 444.4 MB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.2309, allocations: 1.795 MB / 446.2 MB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.2309, allocations: 0 / 446.2 MB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.2317, allocations: 0.5546 MB / 446.8 MB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.234, allocations: 383.7 kB / 447.2 MB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.2462, allocations: 6.893 MB / 454 MB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/0.2496, allocations: 2.533 MB / 456.6 MB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002004/0.2516, allocations: 0.817 MB / 457.4 MB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.2519, allocations: 112.5 kB / 457.5 MB, free: 13.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2519, allocations: 0 / 457.5 MB, free: 13.99 MB / 430.1 MB Notification: Performance of Templates: time 0.1838/0.4356, allocations: 16.76 MB / 474.3 MB, free: 122.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.003062415868044]