Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001726/0.001726, allocations: 108.6 kB / 21.22 MB, free: 0.7461 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.001879/0.001879, allocations: 188.3 kB / 24.51 MB, free: 3.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 43.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2514, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01077/0.2622, allocations: 9.188 MB / 432.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005258/0.2674, allocations: 2.589 MB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.2686, allocations: 75.69 kB / 435.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008182/0.2768, allocations: 3.782 MB / 439.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.2802, allocations: 0.9265 MB / 440 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.2825, allocations: 0.8138 MB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004816/0.2873, allocations: 3.654 MB / 444.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.298, allocations: 6.199 MB / 450.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.3016, allocations: 2.131 MB / 452.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.3058, allocations: 2.383 MB / 455.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.3072, allocations: 0.582 MB / 455.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.3093, allocations: 0.8045 MB / 456.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.3108, allocations: 1.114 MB / 457.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003654/0.3145, allocations: 2.272 MB / 459.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00885/0.3233, allocations: 7.908 MB / 467.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3233, allocations: 3.938 kB / 467.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3234, allocations: 0 / 467.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002025/0.3236, allocations: 4 kB / 467.9 MB, free: 1.969 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01168/0.3352, allocations: 4.857 MB / 472.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3353, allocations: 8.031 kB / 472.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.822e-05/0.3354, allocations: 112.6 kB / 472.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007798/0.3361, allocations: 0.5923 MB / 473.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007048/0.3432, allocations: 1.286 MB / 474.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.3472, allocations: 2.301 MB / 477 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/0.3475, allocations: 316.4 kB / 477.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006411/0.3481, allocations: 411.9 kB / 477.7 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00891/0.357, allocations: 5.473 MB / 483.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-05/0.3571, allocations: 11.89 kB / 483.2 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003726/0.3575, allocations: 168 kB / 483.4 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.3576, allocations: 176.6 kB / 483.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007718/0.3654, allocations: 4.792 MB / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.3917, allocations: 18.53 MB / 0.495 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.3955, allocations: 1.76 MB / 0.4967 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.3967, allocations: 0.7145 MB / 0.4974 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3969, allocations: 40.95 kB / 0.4974 GB, free: 7.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3969, allocations: 43.56 kB / 0.4975 GB, free: 7.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.836e-06/0.3969, allocations: 3.938 kB / 0.4975 GB, free: 7.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002387/0.3993, allocations: 1.558 MB / 0.499 GB, free: 6.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3993, allocations: 60.41 kB / 0.4991 GB, free: 6.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.4011, allocations: 1.334 MB / 0.5004 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.4012, allocations: 41.7 kB / 0.5004 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.4024, allocations: 1.831 MB / 0.5022 GB, free: 2.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.4027, allocations: 381 kB / 0.5026 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005922/0.4033, allocations: 447.7 kB / 0.503 GB, free: 1.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4035, allocations: 349.9 kB / 0.5033 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4046, allocations: 0.8317 MB / 0.5041 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.4066, allocations: 1.82 MB / 0.5059 GB, free: 14.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/0.4098, allocations: 2.798 MB / 0.5086 GB, free: 11.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.4098, allocations: 12 kB / 0.5087 GB, free: 11.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003968/0.4138, allocations: 2.743 MB / 0.5113 GB, free: 8.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4138, allocations: 16 kB / 0.5113 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/0.4138, allocations: 39.94 kB / 0.5114 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.689e-05/0.4139, allocations: 48 kB / 0.5114 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.4155, allocations: 0.5186 MB / 0.5119 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.637e-05/0.4155, allocations: 64.23 kB / 0.512 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4167, allocations: 302 kB / 0.5123 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.4169, allocations: 112 kB / 0.5124 GB, free: 7.328 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.002099/0.419, allocations: 1.488 MB / 0.5138 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.4192, allocations: 127.2 kB / 0.514 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.4214, allocations: 1.462 MB / 0.5154 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001423/0.4228, allocations: 1.033 MB / 0.5164 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4228, allocations: 3.938 kB / 0.5164 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4229, allocations: 7.922 kB / 0.5164 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.4384, allocations: 10.95 MB / 0.5271 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.4384, allocations: 20 kB / 0.5271 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007872/0.4392, allocations: 231.5 kB / 0.5273 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/0.4392, allocations: 32.06 kB / 0.5274 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-05/0.4393, allocations: 48 kB / 0.5274 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.363e-05/0.4393, allocations: 43.84 kB / 0.5275 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.573e-05/0.4394, allocations: 35.81 kB / 0.5275 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.4426, allocations: 2.649 MB / 0.5301 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.4432, allocations: 270.9 kB / 0.5303 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4433, allocations: 51.92 kB / 0.5304 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.444, allocations: 75.94 kB / 0.5305 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.4442, allocations: 143.3 kB / 0.5306 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.4443, allocations: 59.98 kB / 0.5307 GB, free: 3.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.4455, allocations: 0.9023 MB / 0.5315 GB, free: 3.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4455, allocations: 0 / 0.5315 GB, free: 3.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002322/0.4478, allocations: 0.8909 MB / 0.5324 GB, free: 2.121 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.003903/0.4517, allocations: 3.313 MB / 0.5356 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.4546, allocations: 1.837 MB / 0.5374 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/0.4546, allocations: 4 kB / 0.5374 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008955/0.4555, allocations: 0.6101 MB / 0.538 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.4575, allocations: 340.2 kB / 0.5384 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2067/0.6642, allocations: 18.64 MB / 0.5566 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.6663, allocations: 2.803 MB / 0.5593 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001451/0.6677, allocations: 0.7641 MB / 0.5601 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.6687, allocations: 1.142 MB / 0.5612 GB, free: 114.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6687, allocations: 0 / 0.5612 GB, free: 114.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.7274, allocations: 41.6 MB / 0.6018 GB, free: 77.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.62, allocations: 10.64 kB / 0.6018 GB, free: 77.43 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 16.37573233700823]