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.001326/0.001326, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001486/0.001486, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.382/1.382, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001507/0.001507, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2495, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01115/0.2607, allocations: 8.525 MB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006772/0.2674, allocations: 2.651 MB / 442.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2691, allocations: 87.56 kB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00961/0.2787, allocations: 3.886 MB / 446.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.2825, allocations: 0.7795 MB / 447 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.2852, allocations: 0.9386 MB / 448 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.2906, allocations: 4.081 MB / 452 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.3011, allocations: 7.125 MB / 459.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.3046, allocations: 2.404 MB / 461.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.3087, allocations: 2.667 MB / 464.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.3099, allocations: 0.6641 MB / 464.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.3117, allocations: 0.8982 MB / 465.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.3129, allocations: 1.239 MB / 467 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.3155, allocations: 1.985 MB / 469 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009533/0.325, allocations: 8.968 MB / 478 MB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.325, allocations: 4 kB / 478 MB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.325, allocations: 0 / 478 MB, free: 7.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001962/0.3252, allocations: 0 / 478 MB, free: 7.492 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.01437/0.3396, allocations: 5.329 MB / 483.3 MB, free: 2.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3397, allocations: 8.031 kB / 483.3 MB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001475/0.3411, allocations: 0.6539 MB / 484 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007867/0.349, allocations: 1.317 MB / 485.3 MB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.355, allocations: 2.606 MB / 487.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.3553, allocations: 345.4 kB / 488.2 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.3565, allocations: 463.9 kB / 488.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.3691, allocations: 6.134 MB / 494.8 MB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.3692, allocations: 4 kB / 494.8 MB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/0.3696, allocations: 184 kB / 495 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.3698, allocations: 193.5 kB / 495.2 MB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.3799, allocations: 5.272 MB / 0.4887 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0339/0.4138, allocations: 18.61 MB / 0.5069 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.4189, allocations: 2.065 MB / 0.5089 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009803/0.4199, allocations: 0.5962 MB / 0.5095 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.42, allocations: 36.97 kB / 0.5095 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.4201, allocations: 43.56 kB / 0.5096 GB, free: 10.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.246e-06/0.4201, allocations: 0 / 0.5096 GB, free: 10.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002354/0.4224, allocations: 1.444 MB / 0.511 GB, free: 9.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4225, allocations: 60.41 kB / 0.5111 GB, free: 9.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.4248, allocations: 1.531 MB / 0.5126 GB, free: 7.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.4249, allocations: 41.7 kB / 0.5126 GB, free: 7.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.4263, allocations: 2.041 MB / 0.5146 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.4267, allocations: 361.1 kB / 0.5149 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006622/0.4273, allocations: 483.9 kB / 0.5154 GB, free: 4.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4275, allocations: 353.9 kB / 0.5157 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.4287, allocations: 0.8124 MB / 0.5165 GB, free: 3.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.4308, allocations: 1.941 MB / 0.5184 GB, free: 1.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.4343, allocations: 2.939 MB / 0.5213 GB, free: 13.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/0.4344, allocations: 8 kB / 0.5213 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004579/0.439, allocations: 2.802 MB / 0.524 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.439, allocations: 20 kB / 0.5241 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-05/0.4391, allocations: 40 kB / 0.5241 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.419e-05/0.4391, allocations: 52 kB / 0.5241 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.4408, allocations: 0.542 MB / 0.5247 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.486e-05/0.4409, allocations: 75.72 kB / 0.5247 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4422, allocations: 302.3 kB / 0.525 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.4424, allocations: 124 kB / 0.5251 GB, free: 9.793 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.002431/0.4448, allocations: 1.675 MB / 0.5268 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.4451, allocations: 135.1 kB / 0.5269 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.4473, allocations: 1.338 MB / 0.5282 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001364/0.4487, allocations: 0.9396 MB / 0.5291 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4487, allocations: 0 / 0.5291 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.4487, allocations: 3.984 kB / 0.5291 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2196/0.6682, allocations: 11.01 MB / 0.5399 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-05/0.6683, allocations: 19.75 kB / 0.5399 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.669, allocations: 210.8 kB / 0.5401 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/0.669, allocations: 27.59 kB / 0.5401 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.6691, allocations: 47.09 kB / 0.5402 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.832e-05/0.6691, allocations: 42.3 kB / 0.5402 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.6691, allocations: 36.44 kB / 0.5403 GB, free: 94.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.6714, allocations: 2.456 MB / 0.5427 GB, free: 93.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000633/0.672, allocations: 261.1 kB / 0.5429 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.6723, allocations: 48.16 kB / 0.5429 GB, free: 93.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.6731, allocations: 61.98 kB / 0.543 GB, free: 93.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6732, allocations: 133.5 kB / 0.5431 GB, free: 93.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.6733, allocations: 56.73 kB / 0.5432 GB, free: 93.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.6745, allocations: 0.9877 MB / 0.5442 GB, free: 92.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6745, allocations: 0 / 0.5442 GB, free: 92.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002431/0.677, allocations: 0.9555 MB / 0.5451 GB, free: 92.73 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.002462/0.6794, allocations: 3.101 MB / 0.5481 GB, free: 90.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.6816, allocations: 1.805 MB / 0.5499 GB, free: 89.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.6816, allocations: 0 / 0.5499 GB, free: 89.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.6822, allocations: 0.56 MB / 0.5504 GB, free: 89.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.6842, allocations: 378.5 kB / 0.5508 GB, free: 89.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/0.707, allocations: 19.61 MB / 0.5699 GB, free: 70.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002818/0.7098, allocations: 2.531 MB / 0.5724 GB, free: 67.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001472/0.7113, allocations: 0.8093 MB / 0.5732 GB, free: 66.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.7125, allocations: 1.257 MB / 0.5744 GB, free: 65.37 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7125, allocations: 0 / 0.5744 GB, free: 65.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07123/0.7837, allocations: 45.08 MB / 0.6184 GB, free: 20.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.56, allocations: 8.047 kB / 0.6185 GB, free: 20.65 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/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: 15.02881809399696]