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.001186/0.001186, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001093/0.001093, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.872/0.872, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.891e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006459/0.006478, allocations: 8.529 MB / 333.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.01075, allocations: 2.651 MB / 335.8 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.01176, allocations: 91.56 kB / 335.8 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.01568, allocations: 4.14 MB / 340 MB, free: 472 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.0181, allocations: 0.7916 MB / 340.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.01951, allocations: 0.9299 MB / 341.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003229/0.02274, allocations: 4.231 MB / 345.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00649/0.02923, allocations: 7.063 MB / 353 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.03272, allocations: 3.592 MB / 356.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.03518, allocations: 2.281 MB / 358.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007971/0.03597, allocations: 0.6602 MB / 359.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.03717, allocations: 0.8863 MB / 360.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.03782, allocations: 1.266 MB / 361.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.03958, allocations: 1.708 MB / 363.4 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.04591, allocations: 9.019 MB / 372.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.04591, allocations: 0 / 372.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.04592, allocations: 0 / 372.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001913/0.04611, allocations: 0 / 372.4 MB, free: 15.86 MB / 346.7 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.008622/0.05473, allocations: 5.276 MB / 377.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.05478, allocations: 12.03 kB / 377.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009028/0.05568, allocations: 0.65 MB / 378.3 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.05958, allocations: 1.325 MB / 379.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.0631, allocations: 2.609 MB / 382.3 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.0633, allocations: 345.8 kB / 382.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006362/0.06393, allocations: 464.1 kB / 383.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007917/0.07185, allocations: 6.123 MB / 389.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.242e-05/0.07192, allocations: 7.938 kB / 389.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.07222, allocations: 188 kB / 389.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.07235, allocations: 193.5 kB / 389.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006569/0.07892, allocations: 5.272 MB / 394.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/0.09771, allocations: 18.61 MB / 413.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.1004, allocations: 2.088 MB / 415.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.1011, allocations: 0.5923 MB / 416.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.1012, allocations: 36.97 kB / 416.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1012, allocations: 43.5 kB / 416.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 2.975e-06/0.1012, allocations: 4 kB / 416.2 MB, free: 3.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001511/0.1027, allocations: 1.437 MB / 417.7 MB, free: 1.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1027, allocations: 64.41 kB / 417.7 MB, free: 1.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.1042, allocations: 1.527 MB / 419.2 MB, free: 244 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.1042, allocations: 41.7 kB / 419.3 MB, free: 196 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009005/0.1051, allocations: 2.033 MB / 421.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.1053, allocations: 361.1 kB / 421.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.1057, allocations: 471.9 kB / 422.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.1058, allocations: 353.9 kB / 422.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/0.1065, allocations: 0.8084 MB / 423.3 MB, free: 12.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.1079, allocations: 1.952 MB / 425.2 MB, free: 9.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.11, allocations: 2.931 MB / 428.2 MB, free: 6.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.11, allocations: 15.94 kB / 428.2 MB, free: 6.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002835/0.1129, allocations: 2.802 MB / 431 MB, free: 3.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1129, allocations: 20.19 kB / 431 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.1129, allocations: 44 kB / 431.1 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.113, allocations: 55.94 kB / 431.1 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.1139, allocations: 0.542 MB / 431.7 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.121e-05/0.1139, allocations: 79.66 kB / 431.7 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.1147, allocations: 297.9 kB / 432 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.1148, allocations: 124 kB / 432.1 MB, free: 2.184 MB / 394.7 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.001887/0.1167, allocations: 1.675 MB / 433.8 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.1168, allocations: 135.1 kB / 433.9 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1182, allocations: 1.334 MB / 435.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008211/0.119, allocations: 0.9358 MB / 436.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.119, allocations: 0 / 436.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.119, allocations: 7.969 kB / 436.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.1295, allocations: 11 MB / 447.2 MB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.1295, allocations: 20.97 kB / 447.2 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.1299, allocations: 207.6 kB / 447.4 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/0.1299, allocations: 28 kB / 447.5 MB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.13, allocations: 47.98 kB / 447.5 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.13, allocations: 39.86 kB / 447.6 MB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.13, allocations: 27.88 kB / 447.6 MB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1406/0.2706, allocations: 2.434 MB / 450 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.2712, allocations: 252.8 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.2714, allocations: 45.33 kB / 450.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.2719, allocations: 60.66 kB / 450.4 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.2721, allocations: 139.6 kB / 450.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.322e-05/0.2722, allocations: 55.42 kB / 450.6 MB, free: 108.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.2733, allocations: 0.993 MB / 451.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2733, allocations: 0 / 451.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001946/0.2753, allocations: 0.9577 MB / 452.5 MB, free: 108.4 MB / 410.7 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.002058/0.2773, allocations: 3.053 MB / 455.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.279, allocations: 1.799 MB / 457.4 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.279, allocations: 3.969 kB / 457.4 MB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.2794, allocations: 0.5595 MB / 457.9 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.2807, allocations: 386.6 kB / 458.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.2957, allocations: 19.46 MB / 477.8 MB, free: 89.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.2972, allocations: 2.526 MB / 480.3 MB, free: 87.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009928/0.2982, allocations: 0.8091 MB / 481.1 MB, free: 86.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/0.2989, allocations: 1.264 MB / 482.4 MB, free: 85.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2989, allocations: 0 / 482.4 MB, free: 85.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.3428, allocations: 43.97 MB / 0.514 GB, free: 41.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.836, allocations: 11.62 kB / 0.514 GB, free: 41.88 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/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: 9.585452133789659]