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.002021/0.002021, allocations: 112 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.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.002112/0.002112, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.551/1.551, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001583/0.001583, allocations: 47.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2788, allocations: 52.2 MB / 422.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01191/0.2907, allocations: 9.798 MB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.2964, allocations: 2.713 MB / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.2979, allocations: 91.56 kB / 435.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009721/0.3076, allocations: 4.229 MB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.3116, allocations: 0.9398 MB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.314, allocations: 0.8337 MB / 441.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.3198, allocations: 4.093 MB / 445.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.3314, allocations: 7.117 MB / 452.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.3353, allocations: 2.404 MB / 454.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004648/0.3399, allocations: 2.659 MB / 457.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.3417, allocations: 0.6641 MB / 458.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.3442, allocations: 0.8748 MB / 459.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.3458, allocations: 1.243 MB / 460.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.3498, allocations: 2.56 MB / 462.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.3616, allocations: 8.909 MB / 471.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.3616, allocations: 0 / 471.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3616, allocations: 0 / 471.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000279/0.3619, allocations: 0 / 471.8 MB, free: 13.34 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01575/0.3777, allocations: 5.335 MB / 477.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3777, allocations: 8.031 kB / 477.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001466/0.3792, allocations: 0.6578 MB / 477.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/0.3868, allocations: 1.313 MB / 479.1 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005891/0.3927, allocations: 2.609 MB / 481.7 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.393, allocations: 345.4 kB / 482 MB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.3945, allocations: 452 kB / 482.5 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.4085, allocations: 6.094 MB / 488.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.4086, allocations: 11.94 kB / 488.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005705/0.4092, allocations: 184 kB / 488.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/0.4094, allocations: 201.5 kB / 489 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.421, allocations: 5.272 MB / 494.2 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03855/0.4596, allocations: 20.21 MB / 0.5024 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0052/0.4648, allocations: 2.117 MB / 0.5045 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.4659, allocations: 0.5961 MB / 0.505 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.4662, allocations: 32.97 kB / 0.5051 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.4662, allocations: 43.56 kB / 0.5051 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.867e-06/0.4662, allocations: 0 / 0.5051 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002801/0.4691, allocations: 1.429 MB / 0.5065 GB, free: 13.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.4691, allocations: 64.41 kB / 0.5066 GB, free: 13.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.472, allocations: 1.458 MB / 0.508 GB, free: 12.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.4721, allocations: 41.7 kB / 0.508 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.4738, allocations: 2.045 MB / 0.51 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/0.4743, allocations: 361.1 kB / 0.5104 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007037/0.475, allocations: 475.8 kB / 0.5108 GB, free: 9.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.4752, allocations: 365.8 kB / 0.5112 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.4765, allocations: 0.8085 MB / 0.512 GB, free: 8.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.4788, allocations: 1.945 MB / 0.5139 GB, free: 5.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.4825, allocations: 2.916 MB / 0.5167 GB, free: 2.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/0.4825, allocations: 12 kB / 0.5167 GB, free: 2.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004464/0.4869, allocations: 2.794 MB / 0.5194 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.487, allocations: 24 kB / 0.5195 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.443e-05/0.487, allocations: 39.94 kB / 0.5195 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.847e-05/0.4871, allocations: 59.98 kB / 0.5196 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.4888, allocations: 0.5265 MB / 0.5201 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.867e-05/0.4889, allocations: 92.14 kB / 0.5202 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4904, allocations: 298 kB / 0.5205 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.4906, allocations: 128 kB / 0.5206 GB, free: 14.11 MB / 446.1 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.00317/0.4937, allocations: 1.66 MB / 0.5222 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.4941, allocations: 135.1 kB / 0.5223 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.4964, allocations: 1.342 MB / 0.5236 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001308/0.4977, allocations: 0.9318 MB / 0.5245 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4977, allocations: 0 / 0.5245 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.4977, allocations: 7.969 kB / 0.5246 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2694/0.7671, allocations: 11 MB / 0.5353 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-05/0.7672, allocations: 19.25 kB / 0.5353 GB, free: 101.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.768, allocations: 212.3 kB / 0.5355 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/0.768, allocations: 25.62 kB / 0.5355 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/0.7681, allocations: 51.05 kB / 0.5356 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/0.7681, allocations: 36.94 kB / 0.5356 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-05/0.7681, allocations: 30.86 kB / 0.5357 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.7709, allocations: 2.451 MB / 0.538 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.7715, allocations: 254.6 kB / 0.5383 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.7717, allocations: 49.86 kB / 0.5383 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.7724, allocations: 68.45 kB / 0.5384 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.7726, allocations: 134.1 kB / 0.5385 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.7726, allocations: 53.27 kB / 0.5386 GB, free: 100.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001286/0.7739, allocations: 0.9966 MB / 0.5396 GB, free: 99.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7739, allocations: 0 / 0.5396 GB, free: 99.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002794/0.7767, allocations: 0.9527 MB / 0.5405 GB, free: 99.81 MB / 446.1 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.002795/0.7795, allocations: 3.093 MB / 0.5435 GB, free: 97.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.7821, allocations: 1.802 MB / 0.5453 GB, free: 96.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/0.7822, allocations: 64 / 0.5453 GB, free: 96.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.7828, allocations: 0.5643 MB / 0.5458 GB, free: 96.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.7848, allocations: 380.1 kB / 0.5462 GB, free: 96.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/0.8104, allocations: 19.63 MB / 0.5653 GB, free: 81.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.8129, allocations: 3.083 MB / 0.5684 GB, free: 78.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001592/0.8145, allocations: 0.8054 MB / 0.5691 GB, free: 77.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.8157, allocations: 1.258 MB / 0.5704 GB, free: 76.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8157, allocations: 0 / 0.5704 GB, free: 76.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07383/0.8895, allocations: 45.01 MB / 0.6143 GB, free: 31.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.72, allocations: 15.8 kB / 0.6143 GB, free: 31.21 MB / 446.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/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: 17.36266551100198]