Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0008675/0.0008675, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001217/0.001217, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8711/0.8711, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.847e-05, allocations: 2.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01034/0.01037, allocations: 8.501 MB / 326.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00552/0.01589, allocations: 2.592 MB / 329.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.01693, allocations: 95.56 kB / 329.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.02073, allocations: 4.125 MB / 333.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.02261, allocations: 0.9384 MB / 334.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.02371, allocations: 0.8083 MB / 335.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.02662, allocations: 4.228 MB / 339.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00662/0.03324, allocations: 7.059 MB / 346.8 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.03621, allocations: 3.596 MB / 350.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.03848, allocations: 2.281 MB / 352.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005954/0.03908, allocations: 0.6641 MB / 353.3 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.04022, allocations: 0.8591 MB / 354.2 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007179/0.04094, allocations: 1.266 MB / 355.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.04221, allocations: 1.7 MB / 357.1 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.04791, allocations: 8.991 MB / 366.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.04791, allocations: 7.938 kB / 366.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.04791, allocations: 0 / 366.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.332e-05/0.04799, allocations: 0 / 366.1 MB, free: 6.379 MB / 330.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.007537/0.05552, allocations: 5.284 MB / 371.4 MB, free: 1.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.05557, allocations: 8.922 kB / 371.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005906/0.05616, allocations: 0.6578 MB / 372.1 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.05986, allocations: 1.313 MB / 373.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.06294, allocations: 2.605 MB / 376 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.0631, allocations: 349.7 kB / 376.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.06351, allocations: 456.1 kB / 376.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.07021, allocations: 6.119 MB / 382.9 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.07027, allocations: 11.94 kB / 382.9 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.07056, allocations: 184 kB / 383.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.07068, allocations: 193.5 kB / 383.3 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005702/0.07638, allocations: 5.261 MB / 388.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.09269, allocations: 18.6 MB / 407.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.09533, allocations: 2.074 MB / 409.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.0959, allocations: 0.5962 MB / 409.8 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.09598, allocations: 24.98 kB / 409.9 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.09601, allocations: 47.5 kB / 409.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 2.485e-06/0.09601, allocations: 0 / 409.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001414/0.09742, allocations: 1.433 MB / 411.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.09746, allocations: 60.41 kB / 411.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.0987, allocations: 1.531 MB / 412.9 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.09875, allocations: 45.7 kB / 413 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.09951, allocations: 2.029 MB / 415 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.09969, allocations: 353.1 kB / 415.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.1001, allocations: 471.9 kB / 415.8 MB, free: 3.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.1002, allocations: 353.9 kB / 416.2 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.1009, allocations: 0.8046 MB / 417 MB, free: 2.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.1021, allocations: 1.948 MB / 418.9 MB, free: 260 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.104, allocations: 2.924 MB / 421.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.1041, allocations: 15.94 kB / 421.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002404/0.1065, allocations: 2.793 MB / 424.6 MB, free: 9.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.1065, allocations: 20 kB / 424.7 MB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.1065, allocations: 43.98 kB / 424.7 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.834e-05/0.1066, allocations: 52.81 kB / 424.7 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.1075, allocations: 0.5459 MB / 425.3 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/0.1075, allocations: 83.59 kB / 425.4 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.1082, allocations: 297.9 kB / 425.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.972e-05/0.1083, allocations: 127.9 kB / 425.8 MB, free: 8.805 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.001531/0.1098, allocations: 1.671 MB / 427.5 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.11, allocations: 135.1 kB / 427.6 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.1112, allocations: 1.342 MB / 428.9 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007802/0.112, allocations: 0.9279 MB / 429.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.112, allocations: 0 / 429.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.112, allocations: 3.984 kB / 429.9 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009334/0.1213, allocations: 10.9 MB / 440.8 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.1214, allocations: 24.2 kB / 440.8 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.1217, allocations: 211.6 kB / 441 MB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.1217, allocations: 24 kB / 441 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.1218, allocations: 44 kB / 441.1 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.666e-05/0.1218, allocations: 35.86 kB / 441.1 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.1218, allocations: 27.88 kB / 441.1 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.1236, allocations: 2.416 MB / 443.5 MB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.1239, allocations: 254.8 kB / 443.8 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.124, allocations: 51.94 kB / 443.8 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.1244, allocations: 63.95 kB / 443.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1245, allocations: 139.3 kB / 444 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.1245, allocations: 52 kB / 444.1 MB, free: 5.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007981/0.1253, allocations: 0.9916 MB / 445.1 MB, free: 4.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1253, allocations: 0 / 445.1 MB, free: 4.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001703/0.127, allocations: 0.9492 MB / 446 MB, free: 3.902 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.002139/0.1292, allocations: 3.068 MB / 449.1 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1296/0.2588, allocations: 1.794 MB / 450.9 MB, free: 124.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/0.2588, allocations: 3.312 kB / 450.9 MB, free: 124.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.2596, allocations: 0.5572 MB / 451.5 MB, free: 124.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.261, allocations: 384.9 kB / 451.8 MB, free: 124.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.275, allocations: 19.49 MB / 471.3 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.2763, allocations: 2.525 MB / 473.9 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009298/0.2772, allocations: 0.8086 MB / 474.7 MB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/0.278, allocations: 1.254 MB / 475.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.278, allocations: 4 kB / 475.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05012/0.3281, allocations: 43.85 MB / 0.5076 GB, free: 60.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.966, allocations: 15.09 kB / 0.5076 GB, free: 60.38 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.762112490832806]