Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0008634/0.0008634, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008396/0.0008396, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.905/0.905, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.825e-05, allocations: 2.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.00721/0.007228, allocations: 8.53 MB / 333.1 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.01116, allocations: 2.654 MB / 335.7 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.01183, allocations: 91.56 kB / 335.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.01554, allocations: 4.131 MB / 339.9 MB, free: 400 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.01705, allocations: 0.7912 MB / 340.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.01821, allocations: 0.9332 MB / 341.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.02096, allocations: 4.231 MB / 345.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006238/0.0272, allocations: 7.066 MB / 352.9 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.0306, allocations: 3.589 MB / 356.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.03347, allocations: 2.277 MB / 358.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.03465, allocations: 0.6602 MB / 359.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.03634, allocations: 0.8901 MB / 360.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007474/0.03708, allocations: 1.266 MB / 361.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.03918, allocations: 1.708 MB / 363.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.04535, allocations: 9.015 MB / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.04536, allocations: 0 / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.04536, allocations: 0 / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00024/0.0456, allocations: 0 / 372.4 MB, free: 15.78 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.009068/0.05467, allocations: 5.288 MB / 377.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.05472, allocations: 15.98 kB / 377.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000749/0.05547, allocations: 0.6539 MB / 378.3 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.05932, allocations: 1.321 MB / 379.6 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.06247, allocations: 2.593 MB / 382.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.06264, allocations: 345.8 kB / 382.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/0.06306, allocations: 464.1 kB / 383 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006966/0.07003, allocations: 6.127 MB / 389.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.07009, allocations: 4 kB / 389.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.07038, allocations: 187.9 kB / 389.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.0705, allocations: 197.5 kB / 389.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/0.07626, allocations: 5.272 MB / 394.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01904/0.0953, allocations: 18.62 MB / 413.4 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.09798, allocations: 2.077 MB / 415.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.09858, allocations: 0.5883 MB / 416.1 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.09869, allocations: 40.97 kB / 416.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.09871, allocations: 39.56 kB / 416.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 3.346e-06/0.09871, allocations: 0 / 416.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001459/0.1002, allocations: 1.444 MB / 417.6 MB, free: 1.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1002, allocations: 60.41 kB / 417.7 MB, free: 1.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.1017, allocations: 1.531 MB / 419.2 MB, free: 172 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.1017, allocations: 41.7 kB / 419.2 MB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007902/0.1025, allocations: 2.033 MB / 421.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.1027, allocations: 365.1 kB / 421.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.1031, allocations: 471.9 kB / 422.1 MB, free: 13.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.1032, allocations: 349.9 kB / 422.4 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.1039, allocations: 0.8046 MB / 423.2 MB, free: 12.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.1053, allocations: 1.952 MB / 425.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.1073, allocations: 2.935 MB / 428.1 MB, free: 6.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.1074, allocations: 12 kB / 428.1 MB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002635/0.11, allocations: 2.805 MB / 430.9 MB, free: 3.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.11, allocations: 24.28 kB / 431 MB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.1101, allocations: 40 kB / 431 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.246e-05/0.1101, allocations: 56 kB / 431.1 MB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.1111, allocations: 0.5381 MB / 431.6 MB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-05/0.1112, allocations: 79.72 kB / 431.7 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.112, allocations: 297.9 kB / 432 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.1121, allocations: 124 kB / 432.1 MB, free: 2.121 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.001767/0.1138, allocations: 1.675 MB / 433.8 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.114, allocations: 135.1 kB / 433.9 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.1153, allocations: 1.345 MB / 435.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009169/0.1162, allocations: 0.9318 MB / 436.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1162, allocations: 0 / 436.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1162, allocations: 7.984 kB / 436.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.1276, allocations: 10.99 MB / 447.2 MB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/0.1277, allocations: 24 kB / 447.2 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.1281, allocations: 211.6 kB / 447.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/0.1281, allocations: 28.78 kB / 447.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.1281, allocations: 43.98 kB / 447.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-05/0.1282, allocations: 43.86 kB / 447.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/0.1282, allocations: 31.81 kB / 447.5 MB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1516/0.2798, allocations: 2.423 MB / 450 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.2808, allocations: 256.3 kB / 450.2 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.2811, allocations: 45.8 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007842/0.2818, allocations: 63.91 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.2821, allocations: 129.7 kB / 450.4 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.2822, allocations: 61.52 kB / 450.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001512/0.2837, allocations: 0.9944 MB / 451.5 MB, free: 108.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2837, allocations: 2.062 kB / 451.5 MB, free: 108.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002452/0.2861, allocations: 0.9545 MB / 452.5 MB, free: 108.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.002324/0.2885, allocations: 3.042 MB / 455.5 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.2904, allocations: 1.807 MB / 457.3 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/0.2904, allocations: 2.5 kB / 457.3 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.2909, allocations: 0.5581 MB / 457.9 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.2924, allocations: 386.6 kB / 458.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.3102, allocations: 19.46 MB / 477.7 MB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.3117, allocations: 2.533 MB / 480.2 MB, free: 87.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009971/0.3127, allocations: 0.8111 MB / 481.1 MB, free: 86.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007489/0.3134, allocations: 1.258 MB / 482.3 MB, free: 85.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3134, allocations: 0 / 482.3 MB, free: 85.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.358, allocations: 43.96 MB / 0.5139 GB, free: 41.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.948, allocations: 0 / 0.5139 GB, free: 41.71 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.763749510981143]