Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.88 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.257, allocations: 53.37 MB / 432.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01085/0.2678, allocations: 9.205 MB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.2733, allocations: 2.671 MB / 444 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.2747, allocations: 75.69 kB / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0087/0.2834, allocations: 3.764 MB / 447.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.2867, allocations: 0.7682 MB / 448.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.2895, allocations: 0.9578 MB / 449.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005295/0.2948, allocations: 3.646 MB / 453.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009098/0.3038, allocations: 5.883 MB / 459.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.3074, allocations: 2.139 MB / 461.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.3118, allocations: 2.383 MB / 463.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.3132, allocations: 0.5859 MB / 464.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.3156, allocations: 0.8239 MB / 465 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.3168, allocations: 1.107 MB / 466.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003119/0.3199, allocations: 2.284 MB / 468.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009423/0.3294, allocations: 7.92 MB / 476.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3294, allocations: 0 / 476.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3294, allocations: 0 / 476.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002159/0.3296, allocations: 0 / 476.3 MB, free: 10.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01409/0.3437, allocations: 4.865 MB / 481.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3437, allocations: 12.03 kB / 481.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008557/0.3523, allocations: 1.282 MB / 482.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.3574, allocations: 2.309 MB / 484.8 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.3578, allocations: 308.4 kB / 485.1 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.3591, allocations: 415.9 kB / 485.5 MB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.3723, allocations: 5.481 MB / 491 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.3724, allocations: 7.984 kB / 491 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008386/0.3732, allocations: 168 kB / 491.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.3734, allocations: 180.6 kB / 491.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00979/0.3832, allocations: 4.812 MB / 496.2 MB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4143, allocations: 18.54 MB / 0.5026 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/0.4184, allocations: 1.78 MB / 0.5044 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.4197, allocations: 0.7145 MB / 0.5051 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.4199, allocations: 56.92 kB / 0.5051 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.4199, allocations: 43.56 kB / 0.5052 GB, free: 1.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.675e-06/0.4199, allocations: 0 / 0.5052 GB, free: 1.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002526/0.4224, allocations: 1.558 MB / 0.5067 GB, free: 15.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4225, allocations: 64.34 kB / 0.5067 GB, free: 15.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.4245, allocations: 1.346 MB / 0.5081 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.4246, allocations: 41.7 kB / 0.5081 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.4259, allocations: 1.815 MB / 0.5099 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.4262, allocations: 384.9 kB / 0.5102 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000656/0.4269, allocations: 459.6 kB / 0.5107 GB, free: 11.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.427, allocations: 353.9 kB / 0.511 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4283, allocations: 0.8317 MB / 0.5118 GB, free: 10.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.4304, allocations: 1.819 MB / 0.5136 GB, free: 7.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.4339, allocations: 2.806 MB / 0.5163 GB, free: 4.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.434, allocations: 8 kB / 0.5164 GB, free: 4.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004363/0.4383, allocations: 2.739 MB / 0.519 GB, free: 1.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.4384, allocations: 20 kB / 0.519 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.104e-05/0.4384, allocations: 39.98 kB / 0.5191 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.896e-05/0.4385, allocations: 44 kB / 0.5191 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.4402, allocations: 0.5303 MB / 0.5196 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.375e-05/0.4403, allocations: 63.73 kB / 0.5197 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4417, allocations: 298.3 kB / 0.52 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.4419, allocations: 116 kB / 0.5201 GB, free: 0.7656 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.00231/0.4442, allocations: 1.484 MB / 0.5215 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.4444, allocations: 127.2 kB / 0.5217 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.4468, allocations: 1.454 MB / 0.5231 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001529/0.4484, allocations: 1.049 MB / 0.5241 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4484, allocations: 4 kB / 0.5241 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.4484, allocations: 3.984 kB / 0.5241 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.4679, allocations: 11.07 MB / 0.5349 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-05/0.468, allocations: 20 kB / 0.535 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.4691, allocations: 231.6 kB / 0.5352 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.667e-05/0.4692, allocations: 28 kB / 0.5352 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/0.4694, allocations: 47.98 kB / 0.5352 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.682e-05/0.4695, allocations: 43.8 kB / 0.5353 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.962e-05/0.4695, allocations: 31.88 kB / 0.5353 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2404/0.7099, allocations: 2.67 MB / 0.5379 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007552/0.7107, allocations: 269.7 kB / 0.5382 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.7109, allocations: 49.33 kB / 0.5382 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.7117, allocations: 72.12 kB / 0.5383 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.7119, allocations: 149 kB / 0.5384 GB, free: 94.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/0.712, allocations: 55.58 kB / 0.5385 GB, free: 94.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.7135, allocations: 0.9044 MB / 0.5394 GB, free: 94.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7135, allocations: 1.188 kB / 0.5394 GB, free: 94.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002652/0.7161, allocations: 0.8862 MB / 0.5402 GB, free: 94.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0003583/0.7165, allocations: 206.1 kB / 0.5404 GB, free: 94.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.7194, allocations: 1.838 MB / 0.5422 GB, free: 93.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/0.7195, allocations: 2.5 kB / 0.5422 GB, free: 93.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.7206, allocations: 0.6268 MB / 0.5429 GB, free: 93.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.7228, allocations: 338 kB / 0.5432 GB, free: 93.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.7347, allocations: 6.438 MB / 0.5495 GB, free: 90.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.7374, allocations: 2.813 MB / 0.5522 GB, free: 88.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001557/0.739, allocations: 0.7635 MB / 0.553 GB, free: 88.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.7392, allocations: 112.6 kB / 0.5531 GB, free: 88.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7392, allocations: 3.938 kB / 0.5531 GB, free: 88.64 MB / 446.1 MB Notification: Performance of Templates: time 0.02995/0.7692, allocations: 19.07 MB / 0.5717 GB, free: 72.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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.333500297740102]