Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.00134/0.00134, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00144/0.00144, allocations: 210.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 51.92 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2704, allocations: 53.37 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01161/0.282, allocations: 9.203 MB / 440.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005797/0.2878, allocations: 2.663 MB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.2889, allocations: 79.62 kB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008391/0.2973, allocations: 3.773 MB / 446.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.3004, allocations: 0.7668 MB / 447.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.3028, allocations: 0.9634 MB / 448.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004578/0.3074, allocations: 3.642 MB / 452.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00869/0.3161, allocations: 6.186 MB / 458.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.3192, allocations: 2.143 MB / 460.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.3226, allocations: 2.387 MB / 463 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007812/0.3233, allocations: 0.5859 MB / 463.5 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.3249, allocations: 0.8123 MB / 464.3 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009974/0.3259, allocations: 1.114 MB / 465.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002386/0.3283, allocations: 2.28 MB / 467.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008284/0.3366, allocations: 7.925 MB / 475.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3366, allocations: 4 kB / 475.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3366, allocations: 0 / 475.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001607/0.3367, allocations: 4 kB / 475.7 MB, free: 10.1 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.01177/0.3485, allocations: 4.861 MB / 480.5 MB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3485, allocations: 8.031 kB / 480.5 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008922/0.3494, allocations: 0.5962 MB / 481.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007766/0.3572, allocations: 1.275 MB / 482.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/0.3622, allocations: 2.317 MB / 484.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.3625, allocations: 312.4 kB / 485 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008711/0.3633, allocations: 419.9 kB / 485.4 MB, free: 232 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.3738, allocations: 5.477 MB / 490.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-05/0.3739, allocations: 4 kB / 490.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.3743, allocations: 164 kB / 491.1 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.3745, allocations: 184.6 kB / 491.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009326/0.3838, allocations: 4.804 MB / 496.1 MB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02915/0.4129, allocations: 18.55 MB / 0.5026 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/0.4168, allocations: 1.776 MB / 0.5043 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.4181, allocations: 0.7184 MB / 0.505 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.4183, allocations: 48.94 kB / 0.505 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4183, allocations: 47.5 kB / 0.5051 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 2.835e-06/0.4183, allocations: 0 / 0.5051 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002514/0.4208, allocations: 1.562 MB / 0.5066 GB, free: 14.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.4209, allocations: 68.39 kB / 0.5067 GB, free: 14.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.4229, allocations: 1.342 MB / 0.508 GB, free: 12.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.4229, allocations: 41.7 kB / 0.508 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.4242, allocations: 1.823 MB / 0.5098 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.4246, allocations: 381 kB / 0.5102 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.4252, allocations: 455.6 kB / 0.5106 GB, free: 10.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4254, allocations: 353.9 kB / 0.5109 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4266, allocations: 0.8318 MB / 0.5118 GB, free: 8.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.4287, allocations: 1.823 MB / 0.5135 GB, free: 6.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/0.4323, allocations: 2.802 MB / 0.5163 GB, free: 3.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.4323, allocations: 8 kB / 0.5163 GB, free: 3.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004559/0.4368, allocations: 2.739 MB / 0.519 GB, free: 0.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.4369, allocations: 20 kB / 0.519 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/0.4369, allocations: 32 kB / 0.519 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.975e-05/0.437, allocations: 48.75 kB / 0.519 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.4388, allocations: 0.5342 MB / 0.5196 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-05/0.4388, allocations: 67.78 kB / 0.5196 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4401, allocations: 286 kB / 0.5199 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.4403, allocations: 119.9 kB / 0.52 GB, free: 15.48 MB / 446.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.002451/0.4428, allocations: 1.484 MB / 0.5215 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.443, allocations: 131.2 kB / 0.5216 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.4455, allocations: 1.454 MB / 0.523 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001663/0.4472, allocations: 1.049 MB / 0.524 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4472, allocations: 0 / 0.524 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4472, allocations: 3.984 kB / 0.524 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2291/0.6763, allocations: 11.06 MB / 0.5349 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.88e-05/0.6764, allocations: 24.56 kB / 0.5349 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.6775, allocations: 231.5 kB / 0.5351 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/0.6776, allocations: 32.16 kB / 0.5351 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.6777, allocations: 50.88 kB / 0.5352 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.618e-05/0.6777, allocations: 42.36 kB / 0.5352 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.879e-05/0.6778, allocations: 31.12 kB / 0.5352 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.6809, allocations: 2.675 MB / 0.5379 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/0.6815, allocations: 266.8 kB / 0.5381 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.6817, allocations: 51.67 kB / 0.5382 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/0.6824, allocations: 67.77 kB / 0.5382 GB, free: 94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.6826, allocations: 146.2 kB / 0.5384 GB, free: 93.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/0.6827, allocations: 61.83 kB / 0.5384 GB, free: 93.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.6839, allocations: 0.9085 MB / 0.5393 GB, free: 93.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6839, allocations: 0 / 0.5393 GB, free: 93.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002283/0.6862, allocations: 0.8814 MB / 0.5402 GB, free: 93.74 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.003104/0.6893, allocations: 3.306 MB / 0.5434 GB, free: 91.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.6918, allocations: 1.846 MB / 0.5452 GB, free: 90.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.6918, allocations: 3.969 kB / 0.5452 GB, free: 90.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.6924, allocations: 0.6237 MB / 0.5458 GB, free: 90.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.6942, allocations: 336 kB / 0.5461 GB, free: 90.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/0.7139, allocations: 18.61 MB / 0.5643 GB, free: 76.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/0.7157, allocations: 2.806 MB / 0.567 GB, free: 74.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001375/0.7171, allocations: 0.7677 MB / 0.5678 GB, free: 73.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000987/0.7181, allocations: 1.148 MB / 0.5689 GB, free: 72.73 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7181, allocations: 0 / 0.5689 GB, free: 72.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/0.7841, allocations: 41.58 MB / 0.6095 GB, free: 31.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.73, allocations: 7.938 kB / 0.6095 GB, free: 31.34 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 17.346450140001252]