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.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.001893/0.001893, allocations: 82.92 kB / 22 MB, free: 5.18 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.002211/0.002211, allocations: 161.4 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.422/1.422, allocations: 158.6 MB / 187 MB, free: 6.238 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.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.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.001836/0.001836, allocations: 59.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1975, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01061/0.2081, allocations: 8.453 MB / 357 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00552/0.2136, allocations: 2.66 MB / 359.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.2147, allocations: 67.69 kB / 359.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008713/0.2234, allocations: 3.707 MB / 363.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.2266, allocations: 0.9129 MB / 364.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.2289, allocations: 0.9153 MB / 365.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0051/0.234, allocations: 3.934 MB / 369.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00876/0.2427, allocations: 6.215 MB / 375.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.2458, allocations: 2.268 MB / 377.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.2497, allocations: 2.472 MB / 380.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.2508, allocations: 0.6093 MB / 380.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2525, allocations: 0.8005 MB / 381.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.2537, allocations: 1.208 MB / 382.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.2561, allocations: 1.887 MB / 384.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008588/0.2647, allocations: 8.203 MB / 392.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2647, allocations: 0 / 392.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2647, allocations: 0 / 392.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001547/0.2648, allocations: 0 / 392.8 MB, free: 2.992 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.01361/0.2784, allocations: 5.167 MB / 398 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2785, allocations: 15.92 kB / 398 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/0.2953, allocations: 2.589 MB / 400.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005665/0.301, allocations: 2.161 MB / 402.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.3014, allocations: 341.1 kB / 403.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.3032, allocations: 436 kB / 403.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.3157, allocations: 6.139 MB / 409.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.3158, allocations: 7.953 kB / 409.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004457/0.3162, allocations: 180 kB / 409.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.3165, allocations: 213.3 kB / 410.1 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.3273, allocations: 5.76 MB / 415.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03235/0.3596, allocations: 17.87 MB / 433.7 MB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.3663, allocations: 2.699 MB / 436.4 MB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.368, allocations: 0.8913 MB / 437.3 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005312/0.3733, allocations: 2.36 MB / 439.6 MB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3733, allocations: 38.8 kB / 439.7 MB, free: 3.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.3733, allocations: 0 / 439.7 MB, free: 3.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001235/0.3745, allocations: 0.6492 MB / 440.3 MB, free: 2.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3746, allocations: 59.41 kB / 440.4 MB, free: 2.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.3779, allocations: 2.091 MB / 442.5 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.3779, allocations: 33.7 kB / 442.5 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.3796, allocations: 2.276 MB / 444.8 MB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.3798, allocations: 143.1 kB / 444.9 MB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009073/0.3807, allocations: 0.5513 MB / 445.5 MB, free: 13.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3809, allocations: 345.9 kB / 445.8 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.3824, allocations: 0.8715 MB / 446.7 MB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.3851, allocations: 2.247 MB / 448.9 MB, free: 9.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.3891, allocations: 3.067 MB / 452 MB, free: 5.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.427e-05/0.3892, allocations: 16 kB / 452 MB, free: 5.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005875/0.3951, allocations: 3.133 MB / 455.1 MB, free: 2.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.3951, allocations: 31.91 kB / 455.2 MB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-05/0.3952, allocations: 56.78 kB / 455.2 MB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.361e-05/0.3953, allocations: 64 kB / 455.3 MB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.3973, allocations: 0.5927 MB / 455.9 MB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001039/0.3974, allocations: 99.58 kB / 456 MB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.3995, allocations: 409.3 kB / 456.4 MB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.3998, allocations: 148 kB / 456.5 MB, free: 1.23 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.002501/0.4023, allocations: 1.558 MB / 458.1 MB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.4026, allocations: 139.1 kB / 458.2 MB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.4037, allocations: 0.6174 MB / 458.8 MB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004769/0.4042, allocations: 321.4 kB / 459.1 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4042, allocations: 0 / 459.1 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.4042, allocations: 3.984 kB / 459.2 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/0.4098, allocations: 2.733 MB / 461.9 MB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4098, allocations: 4 kB / 461.9 MB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.4101, allocations: 60.44 kB / 461.9 MB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.4101, allocations: 11.94 kB / 462 MB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4101, allocations: 12 kB / 462 MB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.4101, allocations: 11.98 kB / 462 MB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.4102, allocations: 7.938 kB / 462 MB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.4114, allocations: 0.8932 MB / 462.9 MB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.4119, allocations: 190.9 kB / 463.1 MB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.4122, allocations: 12 kB / 463.1 MB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.4128, allocations: 47.94 kB / 463.1 MB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.4129, allocations: 31.91 kB / 463.2 MB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.4129, allocations: 23.86 kB / 463.2 MB, free: 10.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002183/0.4151, allocations: 1.323 MB / 464.5 MB, free: 9.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4151, allocations: 0 / 464.5 MB, free: 9.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002802/0.4179, allocations: 0.9415 MB / 465.4 MB, free: 8.078 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.0002981/0.4182, allocations: 143.1 kB / 465.6 MB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.421, allocations: 1.584 MB / 467.2 MB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.421, allocations: 0 / 467.2 MB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4213, allocations: 177.3 kB / 467.3 MB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.4231, allocations: 305.3 kB / 467.6 MB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1752/0.5982, allocations: 6.006 MB / 473.6 MB, free: 104.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/0.602, allocations: 2.348 MB / 476 MB, free: 104.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001818/0.6038, allocations: 0.7709 MB / 476.8 MB, free: 104.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.604, allocations: 102.7 kB / 476.9 MB, free: 104.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.604, allocations: 2.812 kB / 476.9 MB, free: 104.5 MB / 430.1 MB Notification: Performance of Templates: time 0.02596/0.63, allocations: 16.35 MB / 493.2 MB, free: 95.59 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/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.031249251915142]