Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.0008249/0.0008249, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008341/0.0008341, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8999/0.8999, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.915e-05, allocations: 4.812 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008504/0.008533, allocations: 8.533 MB / 333.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.01302, allocations: 2.651 MB / 335.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007913/0.01382, allocations: 91.56 kB / 335.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.01754, allocations: 4.128 MB / 340 MB, free: 488 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.01911, allocations: 0.7989 MB / 340.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.02029, allocations: 0.9239 MB / 341.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.0232, allocations: 4.235 MB / 345.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007012/0.03021, allocations: 7.059 MB / 353 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.03347, allocations: 3.596 MB / 356.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.03611, allocations: 2.273 MB / 358.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009719/0.03708, allocations: 0.664 MB / 359.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.03829, allocations: 0.8863 MB / 360.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007465/0.03904, allocations: 1.266 MB / 361.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.0403, allocations: 1.708 MB / 363.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.04613, allocations: 9.015 MB / 372.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.04614, allocations: 0 / 372.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.04614, allocations: 0 / 372.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.04624, allocations: 0 / 372.4 MB, free: 15.88 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.007408/0.05365, allocations: 5.28 MB / 377.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.05371, allocations: 16.02 kB / 377.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001522/0.05523, allocations: 0.6539 MB / 378.4 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.05959, allocations: 1.321 MB / 379.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/0.06361, allocations: 2.597 MB / 382.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.06382, allocations: 349.7 kB / 382.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007935/0.06461, allocations: 468.1 kB / 383.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008508/0.07312, allocations: 6.127 MB / 389.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-05/0.07319, allocations: 7.938 kB / 389.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.07355, allocations: 184 kB / 389.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.07368, allocations: 193.5 kB / 389.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007082/0.08077, allocations: 5.272 MB / 394.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/0.1028, allocations: 18.62 MB / 413.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.1058, allocations: 2.077 MB / 415.5 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.1065, allocations: 0.5961 MB / 416.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.1066, allocations: 40.97 kB / 416.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.1067, allocations: 43.5 kB / 416.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 3.316e-06/0.1067, allocations: 0 / 416.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001585/0.1082, allocations: 1.444 MB / 417.7 MB, free: 1.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1083, allocations: 60.41 kB / 417.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.1098, allocations: 1.527 MB / 419.3 MB, free: 256 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.1098, allocations: 41.7 kB / 419.3 MB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008593/0.1107, allocations: 2.029 MB / 421.3 MB, free: 14.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.1109, allocations: 361.1 kB / 421.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.1113, allocations: 471.9 kB / 422.1 MB, free: 13.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1114, allocations: 353.9 kB / 422.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.1122, allocations: 0.8084 MB / 423.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.1135, allocations: 1.952 MB / 425.2 MB, free: 9.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.1156, allocations: 2.931 MB / 428.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/0.1156, allocations: 15.94 kB / 428.2 MB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.0028/0.1184, allocations: 2.798 MB / 431 MB, free: 3.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1184, allocations: 24.22 kB / 431 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/0.1185, allocations: 44 kB / 431.1 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/0.1185, allocations: 52 kB / 431.1 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.1195, allocations: 0.5381 MB / 431.6 MB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/0.1196, allocations: 83.66 kB / 431.7 MB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.1204, allocations: 297.9 kB / 432 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.1205, allocations: 124 kB / 432.1 MB, free: 2.203 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.002023/0.1226, allocations: 1.679 MB / 433.8 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1227, allocations: 131.1 kB / 433.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.1241, allocations: 1.342 MB / 435.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008406/0.1249, allocations: 0.9319 MB / 436.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1249, allocations: 0 / 436.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.1249, allocations: 7.969 kB / 436.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.1368, allocations: 11 MB / 447.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/0.1368, allocations: 21 kB / 447.2 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.1372, allocations: 207.6 kB / 447.4 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.1372, allocations: 28 kB / 447.5 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.1373, allocations: 47.98 kB / 447.5 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/0.1373, allocations: 35.86 kB / 447.6 MB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.1373, allocations: 31.88 kB / 447.6 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1495/0.2868, allocations: 2.428 MB / 450 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/0.2876, allocations: 259.1 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.2878, allocations: 44.33 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.2883, allocations: 61.67 kB / 450.4 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.2885, allocations: 143.3 kB / 450.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.303e-05/0.2886, allocations: 55.25 kB / 450.6 MB, free: 108.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.2898, allocations: 0.9923 MB / 451.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2898, allocations: 0 / 451.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002335/0.2921, allocations: 0.9549 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.002279/0.2944, allocations: 3.058 MB / 455.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.2965, allocations: 1.798 MB / 457.4 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.2965, allocations: 3.781 kB / 457.4 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.297, allocations: 0.5625 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.001375/0.2984, allocations: 380.2 kB / 458.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.3158, allocations: 19.47 MB / 477.8 MB, free: 89.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.3174, allocations: 2.525 MB / 480.3 MB, free: 87.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.3184, allocations: 0.8097 MB / 481.1 MB, free: 86.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/0.3192, allocations: 1.262 MB / 482.4 MB, free: 85.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.3192, allocations: 0 / 482.4 MB, free: 85.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04773/0.3669, allocations: 43.98 MB / 0.514 GB, free: 41.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.157, allocations: 7.938 kB / 0.514 GB, free: 41.89 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/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_4.1.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.925313537940383]