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.002487/0.002487, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002847/0.002847, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.63/1.63, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 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.282e-06/1.282e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.435e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0135/0.01353, allocations: 9.361 MB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.01952, allocations: 2.651 MB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009519/0.02047, allocations: 91.56 kB / 279.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.03132, allocations: 4.461 MB / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.03564, allocations: 0.9432 MB / 284.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.03808, allocations: 0.8122 MB / 285.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005804/0.04388, allocations: 4.224 MB / 289.9 MB, free: 92 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1553/0.1992, allocations: 7.065 MB / 296.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.2043, allocations: 3.614 MB / 300.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.2081, allocations: 2.548 MB / 303.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.2092, allocations: 0.6641 MB / 303.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.2109, allocations: 0.8764 MB / 304.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007482/0.2116, allocations: 1.284 MB / 305.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.2133, allocations: 1.726 MB / 307.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.2189, allocations: 9.056 MB / 316.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2189, allocations: 2.344 kB / 316.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2189, allocations: 0 / 316.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.219, allocations: 0 / 316.7 MB, free: 4.879 MB / 266.7 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.01094/0.23, allocations: 6.181 MB / 322.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.23, allocations: 8.031 kB / 322.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008106/0.2381, allocations: 1.844 MB / 324.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/0.2435, allocations: 2.448 MB / 327.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.2438, allocations: 345.8 kB / 327.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007847/0.2446, allocations: 454.9 kB / 328 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.2557, allocations: 5.587 MB / 333.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.2558, allocations: 7.891 kB / 333.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004762/0.2563, allocations: 188 kB / 333.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.2565, allocations: 201.5 kB / 333.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009557/0.2661, allocations: 4.737 MB / 338.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.307, allocations: 26.67 MB / 365.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005616/0.3126, allocations: 1.973 MB / 367.3 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.3136, allocations: 0.5481 MB / 367.9 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.3137, allocations: 32.98 kB / 367.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.3138, allocations: 46.39 kB / 367.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.976e-06/0.3138, allocations: 4 kB / 367.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.002393/0.3162, allocations: 1.272 MB / 369.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.3162, allocations: 64.34 kB / 369.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.3198, allocations: 2.344 MB / 371.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.3199, allocations: 41.7 kB / 371.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.322, allocations: 2.271 MB / 373.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.3224, allocations: 381.4 kB / 374.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009857/0.3234, allocations: 0.619 MB / 374.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003971/0.3238, allocations: 0.5746 MB / 375.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.325, allocations: 0.6874 MB / 376.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/0.3279, allocations: 2.48 MB / 378.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.3322, allocations: 3.375 MB / 382.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/0.3322, allocations: 16 kB / 382.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004583/0.3368, allocations: 2.688 MB / 384.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.3369, allocations: 27.94 kB / 384.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/0.3369, allocations: 36 kB / 384.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.331e-05/0.337, allocations: 56 kB / 384.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.3388, allocations: 0.5351 MB / 385.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-05/0.3389, allocations: 81.3 kB / 385.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.3402, allocations: 306 kB / 385.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.3404, allocations: 128 kB / 385.9 MB, free: 14.22 MB / 346.7 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.002703/0.3431, allocations: 1.594 MB / 387.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.3435, allocations: 171.1 kB / 387.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.3459, allocations: 1.244 MB / 388.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001337/0.3472, allocations: 0.7952 MB / 389.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.3472, allocations: 0 / 389.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.3472, allocations: 3.984 kB / 389.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.3661, allocations: 11.27 MB / 401 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.3661, allocations: 20 kB / 401 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.3669, allocations: 209.2 kB / 401.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-05/0.367, allocations: 27.98 kB / 401.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.3671, allocations: 44 kB / 401.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.318e-05/0.3671, allocations: 34.45 kB / 401.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-05/0.3671, allocations: 39.19 kB / 401.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.3706, allocations: 2.477 MB / 403.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/0.3713, allocations: 238.8 kB / 404.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3715, allocations: 51.94 kB / 404.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.3722, allocations: 59.95 kB / 404.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.3724, allocations: 140.8 kB / 404.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.3724, allocations: 52 kB / 404.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001831/0.3743, allocations: 1.155 MB / 405.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3743, allocations: 8.031 kB / 405.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002799/0.3771, allocations: 0.953 MB / 406.5 MB, free: 9.078 MB / 362.7 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.0003814/0.3775, allocations: 218.7 kB / 406.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.3806, allocations: 1.872 MB / 408.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.3806, allocations: 4.125 kB / 408.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.3814, allocations: 0.5463 MB / 409.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.3835, allocations: 390.5 kB / 409.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.3954, allocations: 6.826 MB / 416.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.3984, allocations: 2.275 MB / 418.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001791/0.4002, allocations: 0.7151 MB / 419.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.4004, allocations: 116.5 kB / 419.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4004, allocations: 3.938 kB / 419.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of Templates: time 0.1475/0.5479, allocations: 16.69 MB / 436.1 MB, free: 111.9 MB / 378.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] 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.401371259009466]