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.001743/0.001743, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.002124/0.002124, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001871/0.001871, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.2063/0.3135, allocations: 9.792 MB / 436.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3183, allocations: 2.757 MB / 439.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3195, allocations: 79 kB / 439.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007933/0.3274, allocations: 4.214 MB / 443.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.3308, allocations: 0.7706 MB / 444.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.3331, allocations: 0.9703 MB / 445.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005365/0.3385, allocations: 4.056 MB / 449.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.3535, allocations: 8.503 MB / 457.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.3585, allocations: 2.36 MB / 460.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005808/0.3643, allocations: 2.658 MB / 462.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002198/0.3665, allocations: 0.6633 MB / 463.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.3704, allocations: 0.8925 MB / 464.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002684/0.3731, allocations: 1.238 MB / 465.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006392/0.3795, allocations: 2.568 MB / 468.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.3939, allocations: 8.924 MB / 477.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3939, allocations: 0 / 477.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3939, allocations: 0 / 477.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002735/0.3942, allocations: 0 / 477.1 MB, free: 14.78 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.01451/0.4087, allocations: 5.41 MB / 482.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.4088, allocations: 12.03 kB / 482.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.4099, allocations: 0.65 MB / 483.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/0.4176, allocations: 1.321 MB / 484.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/0.4239, allocations: 2.615 MB / 487.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.4243, allocations: 351.2 kB / 487.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.4253, allocations: 456 kB / 487.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/0.4376, allocations: 6.102 MB / 494 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.393e-05/0.4377, allocations: 3.953 kB / 494 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.4381, allocations: 188 kB / 494.2 MB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.4383, allocations: 193.5 kB / 494.4 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009791/0.4481, allocations: 5.288 MB / 499.7 MB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.4803, allocations: 21.02 MB / 0.5085 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006501/0.4868, allocations: 5.488 MB / 0.5139 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/0.4878, allocations: 0.6043 MB / 0.5144 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.488, allocations: 199.1 kB / 0.5146 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4881, allocations: 39.56 kB / 0.5147 GB, free: 11.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.465e-06/0.4881, allocations: 4 kB / 0.5147 GB, free: 11.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002283/0.4904, allocations: 1.437 MB / 0.5161 GB, free: 9.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4904, allocations: 60.41 kB / 0.5161 GB, free: 9.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.4925, allocations: 1.462 MB / 0.5176 GB, free: 8.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.4925, allocations: 41.7 kB / 0.5176 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.4939, allocations: 2.049 MB / 0.5196 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.4943, allocations: 373 kB / 0.52 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/0.4949, allocations: 475.9 kB / 0.5204 GB, free: 5.219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4951, allocations: 353.9 kB / 0.5208 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4963, allocations: 0.8124 MB / 0.5215 GB, free: 4.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.4984, allocations: 1.945 MB / 0.5234 GB, free: 1.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.5018, allocations: 2.927 MB / 0.5263 GB, free: 14.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/0.5019, allocations: 12 kB / 0.5263 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004301/0.5062, allocations: 2.798 MB / 0.529 GB, free: 11.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.5062, allocations: 24 kB / 0.5291 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/0.5062, allocations: 36 kB / 0.5291 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-05/0.5063, allocations: 56 kB / 0.5292 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.5079, allocations: 0.5381 MB / 0.5297 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.986e-05/0.508, allocations: 80.19 kB / 0.5298 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5092, allocations: 306 kB / 0.5301 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.5094, allocations: 120 kB / 0.5302 GB, free: 10.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.002551/0.5119, allocations: 1.671 MB / 0.5318 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.5122, allocations: 135.1 kB / 0.5319 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.5144, allocations: 1.338 MB / 0.5332 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001375/0.5158, allocations: 0.9357 MB / 0.5341 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5158, allocations: 3.938 kB / 0.5341 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.5158, allocations: 3.984 kB / 0.5342 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.535, allocations: 13.51 MB / 0.5473 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/0.535, allocations: 20 kB / 0.5474 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.5358, allocations: 211.6 kB / 0.5476 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.182e-05/0.5358, allocations: 24 kB / 0.5476 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.5359, allocations: 44.66 kB / 0.5476 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-05/0.536, allocations: 43.78 kB / 0.5477 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-05/0.536, allocations: 43.8 kB / 0.5477 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.5396, allocations: 2.451 MB / 0.5501 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.5403, allocations: 327.9 kB / 0.5504 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.5404, allocations: 51.91 kB / 0.5505 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.5411, allocations: 60.02 kB / 0.5505 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.5412, allocations: 131.4 kB / 0.5507 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.5413, allocations: 55.98 kB / 0.5507 GB, free: 3.801 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.5428, allocations: 0.9916 MB / 0.5517 GB, free: 2.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5428, allocations: 0 / 0.5517 GB, free: 2.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002839/0.5457, allocations: 0.9492 MB / 0.5526 GB, free: 1.852 MB / 462.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.003637/0.5493, allocations: 3.11 MB / 0.5556 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002942/0.5522, allocations: 1.803 MB / 0.5574 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.5523, allocations: 7.938 kB / 0.5574 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.5531, allocations: 0.5554 MB / 0.558 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.5551, allocations: 375.8 kB / 0.5583 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.5843, allocations: 19.61 MB / 0.5775 GB, free: 6.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/0.5877, allocations: 3.071 MB / 0.5805 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001934/0.5896, allocations: 0.8131 MB / 0.5813 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/0.5912, allocations: 1.261 MB / 0.5825 GB, free: 1.137 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5912, allocations: 0 / 0.5825 GB, free: 1.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2991/0.8903, allocations: 43.01 MB / 0.6245 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.17, allocations: 6.844 kB / 0.6245 GB, free: 158.6 MB / 0.5137 GB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.823206901084632]