Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.001692/0.001692, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 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.001324/0.001324, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.424/1.424, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 55.92 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2498, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009044/0.2589, allocations: 9.758 MB / 406.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006294/0.2652, allocations: 2.782 MB / 409.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.2668, allocations: 62.75 kB / 409.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008805/0.2756, allocations: 3.808 MB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.2802, allocations: 1.095 MB / 414.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.2828, allocations: 0.8208 MB / 415.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005813/0.2886, allocations: 3.939 MB / 419.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.2992, allocations: 5.906 MB / 425 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003894/0.3031, allocations: 2.273 MB / 427.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.3078, allocations: 2.562 MB / 429.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.3092, allocations: 0.6055 MB / 430.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.3119, allocations: 0.824 MB / 431.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.3135, allocations: 1.196 MB / 432.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004292/0.3178, allocations: 2.424 MB / 434.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009564/0.3274, allocations: 8.155 MB / 443 MB, free: 5.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3274, allocations: 4 kB / 443 MB, free: 5.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3274, allocations: 0 / 443 MB, free: 5.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000171/0.3276, allocations: 0 / 443 MB, free: 5.012 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01245/0.34, allocations: 5.179 MB / 448.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3401, allocations: 15.97 kB / 448.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.3555, allocations: 2.589 MB / 450.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/0.3605, allocations: 2.157 MB / 453 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.3609, allocations: 337 kB / 453.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.3623, allocations: 444 kB / 453.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.3765, allocations: 6.103 MB / 459.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.3766, allocations: 7.953 kB / 459.8 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008213/0.3775, allocations: 184 kB / 460 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.3777, allocations: 213.3 kB / 460.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.3894, allocations: 5.787 MB / 466 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.4217, allocations: 20.22 MB / 486.2 MB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005758/0.4275, allocations: 2.742 MB / 489 MB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.4289, allocations: 0.8907 MB / 489.9 MB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004875/0.4338, allocations: 2.512 MB / 492.4 MB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.4338, allocations: 42.67 kB / 492.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.4338, allocations: 0 / 492.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001122/0.435, allocations: 0.6422 MB / 493.1 MB, free: 2.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.435, allocations: 59.41 kB / 493.1 MB, free: 2.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.4377, allocations: 1.987 MB / 495.1 MB, free: 272 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.4377, allocations: 29.7 kB / 495.2 MB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.4392, allocations: 2.28 MB / 497.4 MB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4394, allocations: 151.1 kB / 497.6 MB, free: 13.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007336/0.4401, allocations: 0.5475 MB / 498.1 MB, free: 13.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4403, allocations: 345.9 kB / 498.5 MB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4416, allocations: 0.8754 MB / 499.3 MB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.4439, allocations: 2.251 MB / 0.4898 GB, free: 9.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.4473, allocations: 3.067 MB / 0.4928 GB, free: 5.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-05/0.4473, allocations: 12 kB / 0.4928 GB, free: 5.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004639/0.4519, allocations: 3.13 MB / 0.4959 GB, free: 2.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.452, allocations: 35.75 kB / 0.4959 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.861e-05/0.452, allocations: 48 kB / 0.496 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.176e-05/0.4521, allocations: 68 kB / 0.496 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.4538, allocations: 0.5927 MB / 0.4966 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.996e-05/0.4539, allocations: 91.66 kB / 0.4967 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4557, allocations: 409.3 kB / 0.4971 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.4559, allocations: 152 kB / 0.4972 GB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002366/0.4583, allocations: 1.562 MB / 0.4988 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.4585, allocations: 139 kB / 0.4989 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4595, allocations: 0.6097 MB / 0.4995 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004381/0.46, allocations: 321.4 kB / 0.4998 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.46, allocations: 7.938 kB / 0.4998 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.46, allocations: 0 / 0.4998 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/0.4659, allocations: 3.821 MB / 0.5035 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.4659, allocations: 7.984 kB / 0.5035 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.4661, allocations: 55.91 kB / 0.5036 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.4662, allocations: 4 kB / 0.5036 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.4662, allocations: 12 kB / 0.5036 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.4662, allocations: 7.938 kB / 0.5036 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4662, allocations: 11.98 kB / 0.5036 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4673, allocations: 0.9057 MB / 0.5045 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.4678, allocations: 195 kB / 0.5047 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.468, allocations: 12 kB / 0.5047 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.4685, allocations: 39.94 kB / 0.5048 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.4686, allocations: 39.91 kB / 0.5048 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.4686, allocations: 15.98 kB / 0.5048 GB, free: 8.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001831/0.4704, allocations: 1.331 MB / 0.5061 GB, free: 7.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4704, allocations: 0 / 0.5061 GB, free: 7.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002477/0.4729, allocations: 0.9454 MB / 0.507 GB, free: 6.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.0002701/0.4732, allocations: 159 kB / 0.5072 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.4756, allocations: 1.583 MB / 0.5087 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4756, allocations: 0 / 0.5087 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.4759, allocations: 174.2 kB / 0.5089 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4774, allocations: 305.2 kB / 0.5092 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.4876, allocations: 6.019 MB / 0.5151 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/0.4905, allocations: 2.895 MB / 0.5179 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.4923, allocations: 0.7748 MB / 0.5186 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.4925, allocations: 107.4 kB / 0.5188 GB, free: 10.37 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4925, allocations: 0 / 0.5188 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Templates: time 0.03871/0.5313, allocations: 19.74 MB / 0.538 GB, free: 6.598 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.0641995733603835]