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.00176/0.00176, allocations: 112 kB / 20.43 MB, free: 1.449 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.001957/0.001957, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.00173/0.00173, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2774, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01174/0.2891, allocations: 9.794 MB / 432.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006054/0.2952, allocations: 2.709 MB / 435.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.2968, allocations: 87.56 kB / 435.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009563/0.3063, allocations: 4.229 MB / 439.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.3097, allocations: 0.9476 MB / 440.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.3121, allocations: 0.8392 MB / 441.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00527/0.3173, allocations: 4.097 MB / 445.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/0.3294, allocations: 7.113 MB / 452.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.333, allocations: 2.404 MB / 454.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00458/0.3376, allocations: 2.659 MB / 457.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001715/0.3393, allocations: 0.6602 MB / 458.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.342, allocations: 0.8865 MB / 459.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.344, allocations: 1.235 MB / 460.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004217/0.3482, allocations: 2.556 MB / 462.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.3597, allocations: 8.913 MB / 471.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3597, allocations: 0 / 471.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3597, allocations: 0 / 471.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002425/0.3599, allocations: 0 / 471.8 MB, free: 13.2 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.01571/0.3756, allocations: 5.335 MB / 477.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3757, allocations: 8.031 kB / 477.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002351/0.378, allocations: 0.6578 MB / 477.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00843/0.3865, allocations: 1.313 MB / 479.1 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/0.3926, allocations: 2.602 MB / 481.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.393, allocations: 345.4 kB / 482 MB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.3944, allocations: 452 kB / 482.5 MB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.4086, allocations: 6.102 MB / 488.6 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.4087, allocations: 3.953 kB / 488.6 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.4098, allocations: 188 kB / 488.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/0.41, allocations: 197.5 kB / 489 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4211, allocations: 5.272 MB / 494.2 MB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03552/0.4566, allocations: 20.22 MB / 0.5024 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/0.4617, allocations: 2.109 MB / 0.5044 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.4628, allocations: 0.604 MB / 0.505 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.4629, allocations: 32.91 kB / 0.5051 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.463, allocations: 47.55 kB / 0.5051 GB, free: 15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.865e-06/0.463, allocations: 0 / 0.5051 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002392/0.4654, allocations: 1.429 MB / 0.5065 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4654, allocations: 60.41 kB / 0.5066 GB, free: 13.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.4678, allocations: 1.458 MB / 0.508 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.4678, allocations: 45.7 kB / 0.508 GB, free: 11.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.4694, allocations: 2.041 MB / 0.51 GB, free: 9.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.4698, allocations: 365.1 kB / 0.5104 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007219/0.4705, allocations: 471.9 kB / 0.5108 GB, free: 9.086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4707, allocations: 357.9 kB / 0.5112 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.472, allocations: 0.8085 MB / 0.512 GB, free: 7.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4743, allocations: 1.948 MB / 0.5139 GB, free: 5.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.478, allocations: 2.924 MB / 0.5167 GB, free: 1.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.978e-05/0.478, allocations: 8 kB / 0.5167 GB, free: 1.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004618/0.4826, allocations: 2.794 MB / 0.5194 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.4827, allocations: 23.94 kB / 0.5195 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-05/0.4828, allocations: 40 kB / 0.5195 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-05/0.4828, allocations: 52 kB / 0.5196 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.4845, allocations: 0.5388 MB / 0.5201 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-05/0.4846, allocations: 87.69 kB / 0.5202 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.486, allocations: 294 kB / 0.5204 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.4862, allocations: 124 kB / 0.5206 GB, free: 13.98 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.002553/0.4887, allocations: 1.664 MB / 0.5222 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.489, allocations: 139.1 kB / 0.5223 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.4913, allocations: 1.345 MB / 0.5236 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001369/0.4926, allocations: 0.9279 MB / 0.5245 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.4926, allocations: 0 / 0.5245 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.4927, allocations: 7.969 kB / 0.5245 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2361/0.7288, allocations: 11.01 MB / 0.5353 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.7288, allocations: 19.28 kB / 0.5353 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/0.7296, allocations: 213 kB / 0.5355 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.208e-05/0.7297, allocations: 25.31 kB / 0.5355 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.7297, allocations: 51.41 kB / 0.5356 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.481e-05/0.7298, allocations: 40.42 kB / 0.5356 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-05/0.7298, allocations: 29.56 kB / 0.5357 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.7328, allocations: 2.448 MB / 0.5381 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.7334, allocations: 259.5 kB / 0.5383 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.7336, allocations: 51.67 kB / 0.5383 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.7343, allocations: 60.3 kB / 0.5384 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7344, allocations: 137.5 kB / 0.5385 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.7345, allocations: 53.31 kB / 0.5386 GB, free: 100.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.7356, allocations: 0.9924 MB / 0.5396 GB, free: 99.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7356, allocations: 0 / 0.5396 GB, free: 99.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002473/0.7381, allocations: 0.9527 MB / 0.5405 GB, free: 99.8 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.002544/0.7407, allocations: 3.091 MB / 0.5435 GB, free: 97.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.7431, allocations: 1.795 MB / 0.5453 GB, free: 96.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.7431, allocations: 7.938 kB / 0.5453 GB, free: 96.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.7437, allocations: 0.5554 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.001925/0.7456, allocations: 378.7 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.02303/0.7687, allocations: 19.64 MB / 0.5653 GB, free: 81.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.7707, allocations: 3.078 MB / 0.5684 GB, free: 77.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.7722, allocations: 0.8093 MB / 0.5691 GB, free: 77.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.7732, allocations: 1.257 MB / 0.5704 GB, free: 75.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.7732, allocations: 0 / 0.5704 GB, free: 75.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.8748, allocations: 45.02 MB / 0.6143 GB, free: 31.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.1, allocations: 14.38 kB / 0.6143 GB, free: 31.1 MB / 446.1 MB " [Timeout remaining time 646] (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/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: 16.668413524981588]