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.001959/0.001959, allocations: 112.8 kB / 21.93 MB, free: 5.223 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.002426/0.002426, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.66/1.66, allocations: 207.7 MB / 236.1 MB, free: 9.82 MB / 190.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: 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.001891/0.001891, allocations: 51.92 kB / 348.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2789, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009551/0.2884, allocations: 8.794 MB / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0066/0.295, allocations: 2.728 MB / 409.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.2974, allocations: 81.25 kB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00986/0.3073, allocations: 3.904 MB / 413.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.3122, allocations: 0.8858 MB / 414 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.3156, allocations: 0.9433 MB / 414.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006858/0.3224, allocations: 4.311 MB / 419.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.3355, allocations: 7.119 MB / 426.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004772/0.3403, allocations: 2.506 MB / 428.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/0.3458, allocations: 2.694 MB / 431.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.3479, allocations: 0.6797 MB / 432.3 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.3514, allocations: 0.8865 MB / 433.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.3535, allocations: 1.333 MB / 434.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004179/0.3577, allocations: 2.07 MB / 436.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.3699, allocations: 9.141 MB / 445.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.37, allocations: 0 / 445.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.37, allocations: 0 / 445.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002814/0.3702, allocations: 3.938 kB / 445.7 MB, free: 2.902 MB / 350.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.01694/0.3872, allocations: 5.601 MB / 451.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3872, allocations: 11.98 kB / 451.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.4018, allocations: 2.417 MB / 453.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006107/0.4079, allocations: 2.372 MB / 456.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.4083, allocations: 361.9 kB / 456.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.4101, allocations: 476 kB / 456.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4269, allocations: 6.672 MB / 463.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.4272, allocations: 3.953 kB / 463.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/0.4287, allocations: 200 kB / 463.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/0.4291, allocations: 226.1 kB / 464 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.4438, allocations: 6.102 MB / 470.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04143/0.4853, allocations: 18.96 MB / 489.1 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007921/0.4932, allocations: 3.039 MB / 492.1 MB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4946, allocations: 0.7368 MB / 492.8 MB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005382/0.5, allocations: 1.979 MB / 494.8 MB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.5001, allocations: 38.56 kB / 494.9 MB, free: 1.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.5001, allocations: 0 / 494.9 MB, free: 1.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006155/0.5007, allocations: 232.7 kB / 495.1 MB, free: 0.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.5007, allocations: 51.41 kB / 495.1 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.5042, allocations: 2.253 MB / 497.4 MB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.5042, allocations: 25.7 kB / 497.4 MB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/0.5062, allocations: 2.486 MB / 499.9 MB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5063, allocations: 67.8 kB / 500 MB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009503/0.5073, allocations: 0.5549 MB / 0.4888 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002964/0.5076, allocations: 349.9 kB / 0.4891 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.509, allocations: 0.8167 MB / 0.4899 GB, free: 10.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.5117, allocations: 2.235 MB / 0.4921 GB, free: 7.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.5152, allocations: 2.964 MB / 0.495 GB, free: 3.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.3e-05/0.5152, allocations: 12 kB / 0.495 GB, free: 3.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005034/0.5202, allocations: 3.021 MB / 0.498 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.5203, allocations: 28 kB / 0.498 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-05/0.5204, allocations: 51.98 kB / 0.498 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-05/0.5204, allocations: 68 kB / 0.4981 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.5222, allocations: 0.5654 MB / 0.4987 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.214e-05/0.5223, allocations: 103.6 kB / 0.4988 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5243, allocations: 413.3 kB / 0.4991 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.5245, allocations: 148 kB / 0.4993 GB, free: 15.19 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.002808/0.5273, allocations: 1.726 MB / 0.501 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.5276, allocations: 139 kB / 0.5011 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.5281, allocations: 243.3 kB / 0.5013 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001424/0.5282, allocations: 105.6 kB / 0.5014 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5282, allocations: 3.938 kB / 0.5014 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5283, allocations: 7.938 kB / 0.5015 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.5324, allocations: 1.962 MB / 0.5034 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5324, allocations: 0 / 0.5034 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.5325, allocations: 15.98 kB / 0.5034 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5325, allocations: 0 / 0.5034 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.5326, allocations: 7.938 kB / 0.5034 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5326, allocations: 4 kB / 0.5034 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5326, allocations: 0 / 0.5034 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.5331, allocations: 371.1 kB / 0.5037 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.5335, allocations: 155.1 kB / 0.5039 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5337, allocations: 3.938 kB / 0.5039 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.5341, allocations: 28.06 kB / 0.5039 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.5342, allocations: 11.98 kB / 0.5039 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5342, allocations: 3.938 kB / 0.5039 GB, free: 10.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002044/0.5362, allocations: 1.4 MB / 0.5053 GB, free: 8.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5362, allocations: 0 / 0.5053 GB, free: 8.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002896/0.5391, allocations: 0.9919 MB / 0.5063 GB, free: 7.945 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.000284/0.5394, allocations: 131.2 kB / 0.5064 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.5421, allocations: 1.399 MB / 0.5078 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5421, allocations: 0 / 0.5078 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.5422, allocations: 35.92 kB / 0.5078 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.544, allocations: 334.3 kB / 0.5081 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.5559, allocations: 6.063 MB / 0.514 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002949/0.5588, allocations: 2.505 MB / 0.5165 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.5592, allocations: 123.4 kB / 0.5166 GB, free: 13.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5593, allocations: 0 / 0.5166 GB, free: 13.28 MB / 446.1 MB Notification: Performance of Templates: time 0.07255/0.6318, allocations: 41.46 MB / 0.5571 GB, free: 3.742 MB / 478.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 -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: 10.332145989872515]