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.001361/0.001361, allocations: 115.6 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.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.001615/0.001615, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 8 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.001757/0.001757, allocations: 47.92 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2812, allocations: 53.35 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01191/0.2932, allocations: 9.811 MB / 441 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.2991, allocations: 2.779 MB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.3005, allocations: 91.5 kB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009596/0.3101, allocations: 4.225 MB / 448.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.3133, allocations: 0.7843 MB / 448.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.3162, allocations: 0.9777 MB / 449.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005945/0.3221, allocations: 4.089 MB / 453.9 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.3349, allocations: 7.124 MB / 461 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.3385, allocations: 2.42 MB / 463.4 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004575/0.3431, allocations: 2.655 MB / 466.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.3447, allocations: 0.6718 MB / 466.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.3473, allocations: 0.8904 MB / 467.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.3493, allocations: 1.239 MB / 468.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004331/0.3536, allocations: 2.568 MB / 471.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.365, allocations: 8.922 MB / 480.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.365, allocations: 4 kB / 480.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.365, allocations: 0 / 480.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001809/0.3652, allocations: 0 / 480.4 MB, free: 5.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.01448/0.3797, allocations: 5.327 MB / 485.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3797, allocations: 8.031 kB / 485.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001996/0.3817, allocations: 0.6578 MB / 486.4 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.3902, allocations: 1.317 MB / 487.7 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006352/0.3966, allocations: 2.606 MB / 490.3 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004256/0.397, allocations: 357.4 kB / 490.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/0.3988, allocations: 448 kB / 491.1 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.414, allocations: 6.109 MB / 497.2 MB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.4141, allocations: 3.953 kB / 497.2 MB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.4152, allocations: 188 kB / 497.4 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.4154, allocations: 193.5 kB / 497.6 MB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.4274, allocations: 5.28 MB / 0.4911 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.4646, allocations: 20.24 MB / 0.5108 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/0.4699, allocations: 2.114 MB / 0.5129 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4709, allocations: 0.5962 MB / 0.5135 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.4711, allocations: 40.95 kB / 0.5135 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4711, allocations: 39.56 kB / 0.5136 GB, free: 7.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.366e-06/0.4711, allocations: 4 kB / 0.5136 GB, free: 7.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002482/0.4736, allocations: 1.433 MB / 0.515 GB, free: 5.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.4737, allocations: 68.39 kB / 0.515 GB, free: 5.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.4764, allocations: 1.458 MB / 0.5165 GB, free: 4.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.4765, allocations: 41.7 kB / 0.5165 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.4781, allocations: 2.053 MB / 0.5185 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.4785, allocations: 361.1 kB / 0.5188 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000791/0.4793, allocations: 471.9 kB / 0.5193 GB, free: 1.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.4795, allocations: 369.8 kB / 0.5196 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.4809, allocations: 0.8085 MB / 0.5204 GB, free: 15.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.4832, allocations: 1.937 MB / 0.5223 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/0.487, allocations: 2.931 MB / 0.5252 GB, free: 10.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-05/0.4871, allocations: 12 kB / 0.5252 GB, free: 10.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004917/0.492, allocations: 2.798 MB / 0.5279 GB, free: 7.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.4921, allocations: 28.06 kB / 0.528 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-05/0.4921, allocations: 43.94 kB / 0.528 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.532e-05/0.4922, allocations: 52 kB / 0.5281 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.494, allocations: 0.5343 MB / 0.5286 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-05/0.4941, allocations: 83.66 kB / 0.5287 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.4956, allocations: 301.9 kB / 0.5289 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.4958, allocations: 124 kB / 0.5291 GB, free: 6.043 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.003007/0.4988, allocations: 1.664 MB / 0.5307 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.4992, allocations: 139.1 kB / 0.5308 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.5016, allocations: 1.342 MB / 0.5321 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001398/0.503, allocations: 0.9357 MB / 0.533 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.503, allocations: 3.984 kB / 0.533 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5031, allocations: 3.984 kB / 0.5331 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2366/0.7397, allocations: 11.11 MB / 0.5439 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.7397, allocations: 23.34 kB / 0.5439 GB, free: 92.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.7404, allocations: 207.7 kB / 0.5441 GB, free: 92.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/0.7404, allocations: 31.59 kB / 0.5441 GB, free: 92.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.7405, allocations: 47.47 kB / 0.5442 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-05/0.7405, allocations: 43.91 kB / 0.5442 GB, free: 92.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/0.7405, allocations: 27.62 kB / 0.5443 GB, free: 92.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.7427, allocations: 2.464 MB / 0.5467 GB, free: 91.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.7433, allocations: 256.1 kB / 0.5469 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.7434, allocations: 43.91 kB / 0.547 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.7441, allocations: 62.16 kB / 0.547 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.7442, allocations: 141.3 kB / 0.5471 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/0.7443, allocations: 61.73 kB / 0.5472 GB, free: 91.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.7454, allocations: 0.9912 MB / 0.5482 GB, free: 90.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7454, allocations: 0 / 0.5482 GB, free: 90.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002368/0.7478, allocations: 0.9497 MB / 0.5491 GB, free: 90.71 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.002682/0.7505, allocations: 3.097 MB / 0.5521 GB, free: 88.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002633/0.7531, allocations: 1.795 MB / 0.5539 GB, free: 87.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.7531, allocations: 3.938 kB / 0.5539 GB, free: 87.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.7538, allocations: 0.563 MB / 0.5544 GB, free: 87.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.7557, allocations: 387.1 kB / 0.5548 GB, free: 87.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/0.7785, allocations: 19.6 MB / 0.5739 GB, free: 66.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003285/0.7818, allocations: 3.067 MB / 0.5769 GB, free: 63.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001509/0.7833, allocations: 0.811 MB / 0.5777 GB, free: 63.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.7846, allocations: 1.265 MB / 0.579 GB, free: 61.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7846, allocations: 0 / 0.579 GB, free: 61.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08082/0.8654, allocations: 45.03 MB / 0.6229 GB, free: 16.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.7, allocations: 6.562 kB / 0.6229 GB, free: 16.97 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.319541017059237]