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.000867/0.000867, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005141/0.005141, allocations: 162.5 kB / 24.69 MB, free: 8.887 MB / 18.57 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 0.8523/0.8523, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.928e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1422/0.1422, allocations: 8.464 MB / 306.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.1468, allocations: 2.657 MB / 309.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.1475, allocations: 62.41 kB / 309.6 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.1514, allocations: 3.712 MB / 313.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.1537, allocations: 0.9406 MB / 314.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1551, allocations: 0.9071 MB / 315.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.1582, allocations: 4.074 MB / 319.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005961/0.1641, allocations: 6.237 MB / 325.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.1681, allocations: 3.346 MB / 328.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.171, allocations: 2.205 MB / 331 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.1721, allocations: 0.6042 MB / 331.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1735, allocations: 0.8133 MB / 332.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.1742, allocations: 1.227 MB / 333.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.1762, allocations: 1.618 MB / 335.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.1838, allocations: 8.221 MB / 343.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1838, allocations: 7.984 kB / 343.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1838, allocations: 0 / 343.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000277/0.1841, allocations: 0 / 343.5 MB, free: 1.629 MB / 298.7 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.009789/0.1939, allocations: 5.128 MB / 348.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1939, allocations: 19.98 kB / 348.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007089/0.1946, allocations: 0.6426 MB / 349.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007177/0.2018, allocations: 2.581 MB / 351.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.2051, allocations: 2.165 MB / 354.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.2053, allocations: 341 kB / 354.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/0.2059, allocations: 444 kB / 354.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009188/0.215, allocations: 6.13 MB / 361 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/0.2151, allocations: 11.89 kB / 361 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003766/0.2155, allocations: 180 kB / 361.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/0.2157, allocations: 221.3 kB / 361.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007856/0.2236, allocations: 5.756 MB / 367.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.2453, allocations: 18.65 MB / 385.8 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.2489, allocations: 2.699 MB / 388.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009554/0.2499, allocations: 0.899 MB / 389.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003019/0.2529, allocations: 2.356 MB / 391.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.2529, allocations: 30.8 kB / 391.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.2529, allocations: 0 / 391.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.000777/0.2537, allocations: 0.656 MB / 392.4 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2537, allocations: 55.41 kB / 392.5 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.2556, allocations: 2.087 MB / 394.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2557, allocations: 33.7 kB / 394.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.2568, allocations: 2.265 MB / 396.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/0.2569, allocations: 147.1 kB / 397 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004831/0.2574, allocations: 0.5474 MB / 397.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.2575, allocations: 353.9 kB / 397.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/0.2582, allocations: 0.8676 MB / 398.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.2596, allocations: 2.247 MB / 401 MB, free: 6.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.262, allocations: 3.067 MB / 404.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.262, allocations: 12 kB / 404.1 MB, free: 3.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.002861/0.2649, allocations: 3.13 MB / 407.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.2649, allocations: 28.62 kB / 407.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.265, allocations: 48 kB / 407.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/0.265, allocations: 71.92 kB / 407.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/0.266, allocations: 0.5927 MB / 408 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-05/0.266, allocations: 91.66 kB / 408.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.2674, allocations: 413.6 kB / 408.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.2675, allocations: 148 kB / 408.6 MB, free: 14.49 MB / 378.7 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.001742/0.2693, allocations: 1.558 MB / 410.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2694, allocations: 143 kB / 410.3 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.27, allocations: 0.6174 MB / 410.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002806/0.2703, allocations: 325.4 kB / 411.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2703, allocations: 0 / 411.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2703, allocations: 0 / 411.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.274, allocations: 3.723 MB / 415 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.274, allocations: 4 kB / 415 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2742, allocations: 55.89 kB / 415 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.2742, allocations: 8 kB / 415 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.2742, allocations: 15.94 kB / 415 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2742, allocations: 4 kB / 415 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.2742, allocations: 11.94 kB / 415.1 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.2752, allocations: 0.8952 MB / 415.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.2754, allocations: 190.9 kB / 416.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.2755, allocations: 19.94 kB / 416.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.2758, allocations: 43.94 kB / 416.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.2759, allocations: 31.84 kB / 416.2 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2759, allocations: 16 kB / 416.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.277, allocations: 1.335 MB / 417.6 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.277, allocations: 3.938 kB / 417.6 MB, free: 5.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001606/0.2786, allocations: 0.9339 MB / 418.5 MB, free: 4.328 MB / 378.7 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.0009885/0.2796, allocations: 1.481 MB / 420 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.2811, allocations: 1.58 MB / 421.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2811, allocations: 4.062 kB / 421.6 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2813, allocations: 171.7 kB / 421.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008392/0.2821, allocations: 304.1 kB / 422 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.3005, allocations: 19.26 MB / 441.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/0.3026, allocations: 2.343 MB / 443.6 MB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001257/0.3039, allocations: 0.7709 MB / 444.4 MB, free: 8.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/0.3049, allocations: 1.219 MB / 445.6 MB, free: 7.301 MB / 410.7 MB Notification: Performance of SimCode: time 3.055e-06/0.3049, allocations: 0 / 445.6 MB, free: 7.301 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1839/0.4888, allocations: 42.38 MB / 488 MB, free: 133.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.271, allocations: 3.172 kB / 488 MB, free: 133.1 MB / 426.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] 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: 9.971396055072546]