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.001885/0.001885, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 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.002081/0.002081, allocations: 149.4 kB / 24.24 MB, free: 3.551 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.416/1.416, allocations: 173.3 MB / 200.8 MB, free: 12.76 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.893e-06/1.893e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.762e-05/3.951e-05, allocations: 2.312 kB / 267.3 MB, free: 10.22 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01119/0.01122, allocations: 8.53 MB / 275.8 MB, free: 1.648 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005894/0.01712, allocations: 2.604 MB / 278.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.01859, allocations: 95.5 kB / 278.5 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.02893, allocations: 4.122 MB / 282.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.03249, allocations: 0.9354 MB / 283.6 MB, free: 9.859 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.0348, allocations: 0.7985 MB / 284.4 MB, free: 9.059 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.04083, allocations: 4.224 MB / 288.6 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.05324, allocations: 7.063 MB / 295.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005771/0.05901, allocations: 3.581 MB / 299.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004194/0.0632, allocations: 2.281 MB / 301.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.06464, allocations: 0.6602 MB / 302.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.06698, allocations: 0.8745 MB / 303.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.06825, allocations: 1.258 MB / 304.3 MB, free: 4.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.07094, allocations: 1.708 MB / 306 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1246/0.1956, allocations: 8.99 MB / 315 MB, free: 30.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1956, allocations: 1.031 kB / 315 MB, free: 30.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1956, allocations: 0 / 315 MB, free: 30.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001703/0.1957, allocations: 0 / 315 MB, free: 30.07 MB / 286.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.01258/0.2083, allocations: 5.291 MB / 320.3 MB, free: 28.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2083, allocations: 8.969 kB / 320.3 MB, free: 28.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008339/0.2167, allocations: 1.841 MB / 322.2 MB, free: 27.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/0.2217, allocations: 2.706 MB / 324.9 MB, free: 26.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.2219, allocations: 349 kB / 325.2 MB, free: 26.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008031/0.2227, allocations: 458.9 kB / 325.7 MB, free: 26.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009268/0.232, allocations: 6.121 MB / 331.8 MB, free: 22.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.474e-05/0.2321, allocations: 3.938 kB / 331.8 MB, free: 22.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/0.2325, allocations: 186.4 kB / 332 MB, free: 22.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.2327, allocations: 194.9 kB / 332.2 MB, free: 22.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/0.2408, allocations: 5.259 MB / 337.4 MB, free: 19.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.2617, allocations: 18.36 MB / 355.8 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/0.2664, allocations: 2.078 MB / 357.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.2674, allocations: 0.6001 MB / 358.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.2675, allocations: 36.98 kB / 358.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.2675, allocations: 49.95 kB / 358.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=94): time 3.626e-06/0.2675, allocations: 0 / 358.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.002423/0.27, allocations: 1.468 MB / 360 MB, free: 12.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.27, allocations: 64.41 kB / 360.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.2722, allocations: 1.527 MB / 361.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.2722, allocations: 37.7 kB / 361.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.2736, allocations: 2.037 MB / 363.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.2739, allocations: 353.8 kB / 364 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006601/0.2746, allocations: 471.9 kB / 364.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2748, allocations: 349.9 kB / 364.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.276, allocations: 0.812 MB / 365.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.2782, allocations: 1.943 MB / 367.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.2818, allocations: 2.923 MB / 370.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/0.2818, allocations: 12 kB / 370.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004642/0.2865, allocations: 2.907 MB / 373.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.2865, allocations: 27.94 kB / 373.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/0.2866, allocations: 40.09 kB / 373.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.257e-05/0.2866, allocations: 56 kB / 373.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.2883, allocations: 0.5383 MB / 374.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.071e-05/0.2884, allocations: 77.78 kB / 374.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2898, allocations: 294 kB / 374.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.29, allocations: 128 kB / 374.6 MB, free: 13.57 MB / 318.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.002892/0.2929, allocations: 1.667 MB / 376.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.2933, allocations: 167.1 kB / 376.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.2956, allocations: 1.349 MB / 377.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001379/0.297, allocations: 0.9305 MB / 378.7 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.297, allocations: 4 kB / 378.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.297, allocations: 3.984 kB / 378.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.3123, allocations: 10.07 MB / 388.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/0.3123, allocations: 20 kB / 388.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008435/0.3132, allocations: 210.3 kB / 389 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/0.3132, allocations: 24 kB / 389 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/0.3133, allocations: 51.98 kB / 389.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.821e-05/0.3134, allocations: 34.83 kB / 389.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-05/0.3134, allocations: 30.12 kB / 389.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.3167, allocations: 2.448 MB / 391.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/0.3174, allocations: 266.8 kB / 391.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.3175, allocations: 47.97 kB / 391.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.3182, allocations: 59.95 kB / 391.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.3184, allocations: 134.8 kB / 392.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.3185, allocations: 55.98 kB / 392.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001484/0.32, allocations: 0.9875 MB / 393.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.32, allocations: 2.516 kB / 393.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003168/0.3232, allocations: 0.9569 MB / 394.1 MB, free: 9.711 MB / 334.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.0004221/0.3236, allocations: 209.2 kB / 394.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.3267, allocations: 1.789 MB / 396.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.3267, allocations: 4 kB / 396.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008422/0.3276, allocations: 0.558 MB / 396.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.3297, allocations: 382.1 kB / 397 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.3429, allocations: 6.999 MB / 404 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/0.3462, allocations: 2.532 MB / 406.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002069/0.3483, allocations: 0.821 MB / 407.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.3486, allocations: 112.5 kB / 407.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3486, allocations: 0 / 407.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Templates: time 0.03592/0.3845, allocations: 16.82 MB / 424.3 MB, free: 11.74 MB / 366.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: 4.707029853016138]