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.001536/0.001536, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.001613/0.001613, allocations: 221.3 kB / 24.52 MB, free: 3.906 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 7.801 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 43.92 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.248, allocations: 53.36 MB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01044/0.2584, allocations: 8.518 MB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.2632, allocations: 2.628 MB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.2637, allocations: 95.5 kB / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008294/0.272, allocations: 3.89 MB / 447 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.2743, allocations: 0.7748 MB / 447.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.2762, allocations: 0.9406 MB / 448.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.2807, allocations: 4.085 MB / 452.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008984/0.2896, allocations: 7.121 MB / 459.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.2925, allocations: 2.416 MB / 462.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/0.296, allocations: 2.651 MB / 465 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009109/0.2969, allocations: 0.6679 MB / 465.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.2985, allocations: 0.8943 MB / 466.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.2996, allocations: 1.239 MB / 467.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.3018, allocations: 1.988 MB / 469.8 MB, free: 500 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008764/0.3106, allocations: 8.975 MB / 478.8 MB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3106, allocations: 0 / 478.8 MB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3106, allocations: 0 / 478.8 MB, free: 7.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.3107, allocations: 0 / 478.8 MB, free: 7.484 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.01159/0.3223, allocations: 5.319 MB / 484.1 MB, free: 2.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3223, allocations: 12.03 kB / 484.1 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001232/0.3225, allocations: 129.5 kB / 484.2 MB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009212/0.3234, allocations: 0.6578 MB / 484.9 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007427/0.3308, allocations: 1.314 MB / 486.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.3352, allocations: 2.609 MB / 488.8 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.3355, allocations: 353.4 kB / 489.1 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007286/0.3362, allocations: 452 kB / 489.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.3472, allocations: 6.127 MB / 495.7 MB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.53e-05/0.3473, allocations: 4 kB / 495.7 MB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.3477, allocations: 192 kB / 495.9 MB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.3479, allocations: 197.5 kB / 496.1 MB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00923/0.3571, allocations: 5.28 MB / 0.4896 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/0.3859, allocations: 18.6 MB / 0.5078 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.3908, allocations: 2.065 MB / 0.5098 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.3918, allocations: 0.6039 MB / 0.5104 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.392, allocations: 36.97 kB / 0.5104 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.392, allocations: 43.56 kB / 0.5105 GB, free: 10.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.116e-06/0.392, allocations: 0 / 0.5105 GB, free: 10.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002261/0.3943, allocations: 1.433 MB / 0.5119 GB, free: 9.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3943, allocations: 64.41 kB / 0.5119 GB, free: 9.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.3964, allocations: 1.462 MB / 0.5134 GB, free: 7.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.3964, allocations: 45.7 kB / 0.5134 GB, free: 7.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.3979, allocations: 2.049 MB / 0.5154 GB, free: 5.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.3982, allocations: 357.1 kB / 0.5157 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006796/0.3989, allocations: 479.9 kB / 0.5162 GB, free: 4.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3991, allocations: 357.9 kB / 0.5165 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.4003, allocations: 0.8123 MB / 0.5173 GB, free: 3.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.4025, allocations: 1.945 MB / 0.5192 GB, free: 1.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003569/0.4061, allocations: 2.927 MB / 0.5221 GB, free: 13.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/0.4061, allocations: 12 kB / 0.5221 GB, free: 13.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004422/0.4105, allocations: 2.809 MB / 0.5249 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.4106, allocations: 20 kB / 0.5249 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.216e-05/0.4106, allocations: 40.91 kB / 0.5249 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-05/0.4107, allocations: 52 kB / 0.525 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.4124, allocations: 0.542 MB / 0.5255 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.062e-05/0.4124, allocations: 79.66 kB / 0.5256 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.4138, allocations: 297.9 kB / 0.5258 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.414, allocations: 128 kB / 0.526 GB, free: 9.711 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.002569/0.4166, allocations: 1.664 MB / 0.5276 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.4168, allocations: 139.1 kB / 0.5277 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.419, allocations: 1.338 MB / 0.529 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001375/0.4203, allocations: 0.9357 MB / 0.5299 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4203, allocations: 0 / 0.5299 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.4204, allocations: 11.91 kB / 0.53 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2215/0.6419, allocations: 11 MB / 0.5407 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.6419, allocations: 19.84 kB / 0.5407 GB, free: 95.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.6426, allocations: 210.4 kB / 0.5409 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.6426, allocations: 26.12 kB / 0.5409 GB, free: 95.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.6427, allocations: 58.42 kB / 0.541 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-05/0.6427, allocations: 39.38 kB / 0.541 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.6427, allocations: 31.69 kB / 0.5411 GB, free: 95.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.6449, allocations: 2.463 MB / 0.5435 GB, free: 93.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00054/0.6454, allocations: 254.9 kB / 0.5437 GB, free: 93.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.6456, allocations: 45.14 kB / 0.5438 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006913/0.6463, allocations: 62.64 kB / 0.5438 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.6464, allocations: 137.1 kB / 0.544 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6466, allocations: 57.75 kB / 0.544 GB, free: 93.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.6477, allocations: 0.9941 MB / 0.545 GB, free: 93.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6477, allocations: 0 / 0.545 GB, free: 93.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002729/0.6505, allocations: 0.9581 MB / 0.5459 GB, free: 93.33 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.002561/0.653, allocations: 3.089 MB / 0.5489 GB, free: 91.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.6554, allocations: 1.8 MB / 0.5507 GB, free: 90.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.6555, allocations: 3.938 kB / 0.5507 GB, free: 90.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.656, allocations: 0.5593 MB / 0.5512 GB, free: 90.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.658, allocations: 378 kB / 0.5516 GB, free: 90.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/0.6782, allocations: 19.61 MB / 0.5707 GB, free: 69.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/0.6804, allocations: 2.531 MB / 0.5732 GB, free: 67.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00151/0.6819, allocations: 0.8054 MB / 0.574 GB, free: 66.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.683, allocations: 1.265 MB / 0.5752 GB, free: 65.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.683, allocations: 0 / 0.5752 GB, free: 65.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/0.7507, allocations: 44.79 MB / 0.619 GB, free: 20.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.78, allocations: 11.27 kB / 0.619 GB, free: 20.85 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.468639560975134]