Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001372/0.001372, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.00197/0.00197, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01465/0.3691, allocations: 10.14 MB / 406.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008344/0.3775, allocations: 2.846 MB / 409.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.3802, allocations: 75.88 kB / 409.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.3912, allocations: 4.24 MB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005348/0.3965, allocations: 0.9079 MB / 414.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.3996, allocations: 0.9912 MB / 415.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.4067, allocations: 4.311 MB / 419.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.4194, allocations: 7.188 MB / 427.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/0.4241, allocations: 2.516 MB / 429.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006157/0.4303, allocations: 2.795 MB / 432.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.4323, allocations: 0.6797 MB / 433.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.4354, allocations: 0.8982 MB / 434 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.4374, allocations: 1.321 MB / 435.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00514/0.4425, allocations: 2.669 MB / 437.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.4548, allocations: 9.108 MB / 447 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4548, allocations: 0 / 447 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4548, allocations: 0 / 447 MB, free: 416 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002544/0.4551, allocations: 0 / 447 MB, free: 416 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01733/0.4724, allocations: 5.601 MB / 452.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4725, allocations: 15.98 kB / 452.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001469/0.4739, allocations: 0.6911 MB / 453.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.4876, allocations: 2.409 MB / 455.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/0.4946, allocations: 2.372 MB / 458.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.4949, allocations: 365.9 kB / 458.5 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.4966, allocations: 476 kB / 459 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.5121, allocations: 6.64 MB / 465.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5123, allocations: 15.89 kB / 465.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007297/0.513, allocations: 196 kB / 465.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002732/0.5133, allocations: 226.1 kB / 466 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.5268, allocations: 6.122 MB / 472.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.5699, allocations: 21.55 MB / 493.7 MB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/0.5773, allocations: 3.09 MB / 496.8 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.5786, allocations: 0.7407 MB / 497.5 MB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005221/0.5838, allocations: 2.111 MB / 499.6 MB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.5839, allocations: 34.56 kB / 499.7 MB, free: 11.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.5839, allocations: 0 / 499.7 MB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006819/0.5846, allocations: 244.6 kB / 499.9 MB, free: 10.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.5846, allocations: 51.41 kB / 500 MB, free: 10.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.588, allocations: 2.141 MB / 0.4903 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.5881, allocations: 25.7 kB / 0.4904 GB, free: 8.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.5901, allocations: 2.478 MB / 0.4928 GB, free: 6.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.5901, allocations: 79.67 kB / 0.4929 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007809/0.5909, allocations: 0.5511 MB / 0.4934 GB, free: 5.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5911, allocations: 357.9 kB / 0.4937 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.5924, allocations: 0.8127 MB / 0.4945 GB, free: 4.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.5949, allocations: 2.231 MB / 0.4967 GB, free: 1.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.5984, allocations: 2.96 MB / 0.4996 GB, free: 13.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/0.5984, allocations: 15.94 kB / 0.4996 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004912/0.6034, allocations: 3.017 MB / 0.5026 GB, free: 10.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.6034, allocations: 31.98 kB / 0.5026 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.313e-05/0.6035, allocations: 56.12 kB / 0.5026 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.164e-05/0.6036, allocations: 67.94 kB / 0.5027 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.6053, allocations: 0.5693 MB / 0.5033 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001084/0.6054, allocations: 103.6 kB / 0.5034 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.6074, allocations: 409.2 kB / 0.5038 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.6077, allocations: 148 kB / 0.5039 GB, free: 9.305 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.0032/0.6109, allocations: 1.73 MB / 0.5056 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.6112, allocations: 139.1 kB / 0.5057 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.6117, allocations: 247.3 kB / 0.506 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001288/0.6118, allocations: 89.61 kB / 0.506 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6118, allocations: 0 / 0.506 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6118, allocations: 8 kB / 0.5061 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.6173, allocations: 3.052 MB / 0.509 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6173, allocations: 0 / 0.509 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.6174, allocations: 11.98 kB / 0.509 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.6174, allocations: 4 kB / 0.509 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.6174, allocations: 0 / 0.509 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6174, allocations: 0 / 0.509 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6174, allocations: 0 / 0.509 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.618, allocations: 387.1 kB / 0.5094 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.6184, allocations: 155 kB / 0.5096 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.6186, allocations: 8 kB / 0.5096 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.619, allocations: 23.95 kB / 0.5096 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.619, allocations: 4 kB / 0.5096 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.619, allocations: 4 kB / 0.5096 GB, free: 3.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002244/0.6213, allocations: 1.4 MB / 0.511 GB, free: 1.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6213, allocations: 0 / 0.511 GB, free: 1.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003771/0.6251, allocations: 0.9996 MB / 0.5119 GB, free: 0.9727 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.001099/0.6262, allocations: 0.9467 MB / 0.5129 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.6288, allocations: 1.399 MB / 0.5142 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6288, allocations: 4 kB / 0.5142 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.6288, allocations: 35.92 kB / 0.5143 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6305, allocations: 329.9 kB / 0.5146 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/0.6637, allocations: 19.28 MB / 0.5334 GB, free: 9.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003625/0.6674, allocations: 3.132 MB / 0.5365 GB, free: 6.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00218/0.6695, allocations: 0.7945 MB / 0.5373 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/0.6716, allocations: 1.319 MB / 0.5385 GB, free: 3.988 MB / 462.1 MB Notification: Performance of SimCode: time 2.275e-06/0.6716, allocations: 0 / 0.5385 GB, free: 3.988 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/0.9923, allocations: 45.73 MB / 0.5832 GB, free: 137.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.58, allocations: 4 kB / 0.5832 GB, free: 137.2 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.269542446825653]