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.0013/0.0013, allocations: 84.23 kB / 22 MB, free: 5.176 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.001336/0.001336, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.292/1.292, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 51.94 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2044, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01045/0.2148, allocations: 8.795 MB / 357.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.2201, allocations: 2.729 MB / 360 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008164/0.221, allocations: 75.62 kB / 360.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009137/0.2301, allocations: 4.135 MB / 364.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.2332, allocations: 0.8933 MB / 365.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.2354, allocations: 0.9348 MB / 366.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005025/0.2404, allocations: 4.311 MB / 370.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009946/0.2504, allocations: 7.122 MB / 377.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.2538, allocations: 2.517 MB / 380 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00432/0.2581, allocations: 2.694 MB / 382.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.2595, allocations: 0.6797 MB / 383.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.2615, allocations: 0.8748 MB / 384.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.2628, allocations: 1.325 MB / 385.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002848/0.2657, allocations: 2.074 MB / 387.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.2761, allocations: 9.153 MB / 396.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2761, allocations: 0 / 396.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2761, allocations: 0 / 396.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.2763, allocations: 4 kB / 396.8 MB, free: 14.95 MB / 366.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.01425/0.2905, allocations: 5.59 MB / 402.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2906, allocations: 15.98 kB / 402.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.3048, allocations: 2.409 MB / 404.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.3098, allocations: 2.383 MB / 407.2 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.3102, allocations: 365.9 kB / 407.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/0.3116, allocations: 476 kB / 408.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.3257, allocations: 6.665 MB / 414.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.3258, allocations: 3.953 kB / 414.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005209/0.3263, allocations: 200 kB / 414.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/0.3266, allocations: 226.1 kB / 415.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.3377, allocations: 6.09 MB / 421.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.3695, allocations: 18.98 MB / 440.2 MB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007759/0.3773, allocations: 3.044 MB / 443.3 MB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.3785, allocations: 0.7371 MB / 444 MB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0047/0.3832, allocations: 1.987 MB / 446 MB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3833, allocations: 34.56 kB / 446 MB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.3833, allocations: 0 / 446 MB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005493/0.3838, allocations: 236.7 kB / 446.2 MB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3838, allocations: 51.41 kB / 446.3 MB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.3874, allocations: 2.253 MB / 448.5 MB, free: 10.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3874, allocations: 25.7 kB / 448.6 MB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.3893, allocations: 2.478 MB / 451 MB, free: 8.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.3894, allocations: 71.8 kB / 451.1 MB, free: 7.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008401/0.3902, allocations: 0.5472 MB / 451.7 MB, free: 7.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3904, allocations: 357.9 kB / 452 MB, free: 7.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.3917, allocations: 0.8089 MB / 452.8 MB, free: 6.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.3941, allocations: 2.243 MB / 455.1 MB, free: 3.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/0.3976, allocations: 2.96 MB / 458 MB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.427e-05/0.3976, allocations: 20 kB / 458 MB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00507/0.4027, allocations: 3.017 MB / 461.1 MB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.4027, allocations: 27.94 kB / 461.1 MB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.407e-05/0.4028, allocations: 52 kB / 461.1 MB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.501e-05/0.4029, allocations: 68 kB / 461.2 MB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4047, allocations: 0.5693 MB / 461.8 MB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.373e-05/0.4048, allocations: 95.59 kB / 461.9 MB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.407, allocations: 421.3 kB / 462.3 MB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.4072, allocations: 151.9 kB / 462.4 MB, free: 11.22 MB / 430.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.00267/0.4098, allocations: 1.726 MB / 464.2 MB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.4101, allocations: 139.1 kB / 464.3 MB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.4106, allocations: 243.1 kB / 464.5 MB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/0.4108, allocations: 101.5 kB / 464.6 MB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4108, allocations: 0 / 464.6 MB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4108, allocations: 3.938 kB / 464.6 MB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.4152, allocations: 1.962 MB / 466.6 MB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4152, allocations: 4.031 kB / 466.6 MB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.4153, allocations: 8 kB / 466.6 MB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4153, allocations: 4 kB / 466.6 MB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4153, allocations: 3.938 kB / 466.6 MB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4153, allocations: 384 / 466.6 MB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4153, allocations: 7.969 kB / 466.6 MB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.4158, allocations: 375.1 kB / 467 MB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.4162, allocations: 151.1 kB / 467.1 MB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.4164, allocations: 7.938 kB / 467.1 MB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.417, allocations: 32.02 kB / 467.2 MB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.417, allocations: 7.984 kB / 467.2 MB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.417, allocations: 4 kB / 467.2 MB, free: 6.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.4191, allocations: 1.396 MB / 468.6 MB, free: 4.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4191, allocations: 0 / 468.6 MB, free: 4.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00277/0.4218, allocations: 0.9919 MB / 469.6 MB, free: 3.988 MB / 430.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.0002504/0.4221, allocations: 135.1 kB / 469.7 MB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.4245, allocations: 1.395 MB / 471.1 MB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4245, allocations: 0 / 471.1 MB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.4245, allocations: 39.92 kB / 471.1 MB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.4262, allocations: 329.9 kB / 471.5 MB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1671/0.5934, allocations: 6.177 MB / 477.6 MB, free: 104 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/0.5956, allocations: 2.596 MB / 480.2 MB, free: 103.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001486/0.5971, allocations: 0.7925 MB / 481 MB, free: 103.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.5973, allocations: 99.91 kB / 481.1 MB, free: 103.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5973, allocations: 0 / 481.1 MB, free: 103.5 MB / 430.1 MB Notification: Performance of Templates: time 0.02744/0.6247, allocations: 16.68 MB / 497.8 MB, free: 91.35 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/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: 5.004458422889002]