Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.002279/0.002279, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001927/0.001927, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.378e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.0122/0.01222, allocations: 8.801 MB / 307.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.01811, allocations: 2.714 MB / 310.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.01966, allocations: 75.62 kB / 310.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.03022, allocations: 4.157 MB / 314.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.03429, allocations: 0.9161 MB / 315.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.03719, allocations: 0.9268 MB / 316.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006514/0.0437, allocations: 4.469 MB / 321 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1774/0.2211, allocations: 7.125 MB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005934/0.227, allocations: 3.719 MB / 331.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005248/0.2323, allocations: 2.413 MB / 334.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002706/0.235, allocations: 0.6791 MB / 335 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.2396, allocations: 0.8879 MB / 335.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.2421, allocations: 1.338 MB / 337.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003903/0.246, allocations: 1.784 MB / 339 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00875/0.2548, allocations: 9.183 MB / 348.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2548, allocations: 0 / 348.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2548, allocations: 3.25 kB / 348.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003127/0.2551, allocations: 3.469 kB / 348.2 MB, free: 8.125 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01615/0.2713, allocations: 5.548 MB / 353.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2713, allocations: 14.39 kB / 353.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.2848, allocations: 2.409 MB / 356.1 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/0.2897, allocations: 2.374 MB / 358.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.2899, allocations: 369.1 kB / 358.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.2909, allocations: 476.6 kB / 359.3 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.3063, allocations: 6.665 MB / 366 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.3064, allocations: 19.83 kB / 366 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005752/0.307, allocations: 198.3 kB / 366.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.3073, allocations: 226.1 kB / 366.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.3211, allocations: 6.094 MB / 372.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03578/0.3569, allocations: 18.98 MB / 391.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007981/0.3648, allocations: 3.027 MB / 394.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.3664, allocations: 0.741 MB / 395.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005229/0.3716, allocations: 1.986 MB / 397.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.3717, allocations: 38.56 kB / 397.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.3717, allocations: 0 / 397.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005202/0.3722, allocations: 235.9 kB / 397.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3722, allocations: 51.41 kB / 397.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.3755, allocations: 2.249 MB / 399.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3756, allocations: 29.64 kB / 399.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.3773, allocations: 2.466 MB / 402.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.3774, allocations: 71.8 kB / 402.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007893/0.3782, allocations: 0.5393 MB / 402.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3784, allocations: 357.9 kB / 403.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.3796, allocations: 0.8089 MB / 404.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.382, allocations: 2.24 MB / 406.3 MB, free: 440 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.3856, allocations: 2.961 MB / 409.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/0.3856, allocations: 19.94 kB / 409.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005183/0.3908, allocations: 3.02 MB / 412.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.3908, allocations: 24 kB / 412.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.47e-05/0.3909, allocations: 56.38 kB / 412.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-05/0.391, allocations: 68 kB / 412.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.3927, allocations: 0.5738 MB / 413 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.962e-05/0.3928, allocations: 95.69 kB / 413.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.3949, allocations: 409.3 kB / 413.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.3951, allocations: 148 kB / 413.7 MB, free: 8.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.003047/0.3982, allocations: 1.719 MB / 415.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.3985, allocations: 147 kB / 415.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.399, allocations: 253.2 kB / 415.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001517/0.3992, allocations: 85.69 kB / 415.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3992, allocations: 0 / 415.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3992, allocations: 3.984 kB / 415.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.403, allocations: 1.974 MB / 417.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.403, allocations: 384 / 417.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.4031, allocations: 8 kB / 417.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4031, allocations: 4 kB / 417.9 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4031, allocations: 8 kB / 417.9 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4031, allocations: 4.031 kB / 417.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4031, allocations: 0 / 417.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.4036, allocations: 378.6 kB / 418.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.404, allocations: 151.1 kB / 418.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.4041, allocations: 4 kB / 418.4 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.4046, allocations: 27.95 kB / 418.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.4046, allocations: 4 kB / 418.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4047, allocations: 0 / 418.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002137/0.4068, allocations: 1.407 MB / 419.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4068, allocations: 0 / 419.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003317/0.4101, allocations: 0.9959 MB / 420.8 MB, free: 1.773 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0003512/0.4105, allocations: 128.9 kB / 421 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.4129, allocations: 1.398 MB / 422.4 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4129, allocations: 0 / 422.4 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.4129, allocations: 36.11 kB / 422.4 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.4147, allocations: 336.9 kB / 422.7 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.4257, allocations: 6.122 MB / 428.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005046/0.4307, allocations: 2.594 MB / 431.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001931/0.4326, allocations: 0.7983 MB / 432.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.4329, allocations: 92.5 kB / 432.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4329, allocations: 0 / 432.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of Templates: time 0.03636/0.4692, allocations: 16.55 MB / 448.9 MB, free: 5.855 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.960233837366104]