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.00129/0.00129, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001467/0.001467, allocations: 212 kB / 24.47 MB, free: 3.547 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.459/1.459, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.002517/0.002517, allocations: 66.25 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2976, allocations: 49.15 MB / 396.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01061/0.3082, allocations: 8.788 MB / 405.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.3137, allocations: 2.73 MB / 407.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.3152, allocations: 77.09 kB / 407.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009148/0.3244, allocations: 3.907 MB / 411.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.3287, allocations: 0.8965 MB / 412.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.3316, allocations: 0.9356 MB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007432/0.3391, allocations: 4.316 MB / 418 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01526/0.3543, allocations: 7.114 MB / 425.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005094/0.3594, allocations: 2.517 MB / 427.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005359/0.3648, allocations: 2.694 MB / 430.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001831/0.3666, allocations: 0.6758 MB / 431 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.3701, allocations: 0.8826 MB / 431.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002276/0.3724, allocations: 1.329 MB / 433.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004941/0.3773, allocations: 2.078 MB / 435.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.3911, allocations: 9.145 MB / 444.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3911, allocations: 3.984 kB / 444.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3911, allocations: 0 / 444.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000262/0.3914, allocations: 0 / 444.4 MB, free: 2.953 MB / 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.01626/0.4076, allocations: 5.597 MB / 450 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4077, allocations: 11.98 kB / 450 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00225/0.4099, allocations: 0.6988 MB / 450.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.4244, allocations: 2.409 MB / 453.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006491/0.4309, allocations: 2.375 MB / 455.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.4313, allocations: 369.9 kB / 455.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/0.433, allocations: 476 kB / 456.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.4478, allocations: 6.665 MB / 463 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.448, allocations: 7.953 kB / 463 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005817/0.4485, allocations: 196 kB / 463.2 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.4488, allocations: 226.1 kB / 463.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.4612, allocations: 6.102 MB / 469.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.5031, allocations: 19.82 MB / 489.4 MB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008169/0.5113, allocations: 3.027 MB / 492.4 MB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5127, allocations: 0.7407 MB / 493.1 MB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005552/0.5183, allocations: 1.987 MB / 495.1 MB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5183, allocations: 34.56 kB / 495.2 MB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.5183, allocations: 0 / 495.2 MB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006048/0.5189, allocations: 236.7 kB / 495.4 MB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.519, allocations: 59.34 kB / 495.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.5228, allocations: 2.257 MB / 497.7 MB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5228, allocations: 25.7 kB / 497.7 MB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.5249, allocations: 2.475 MB / 0.4885 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.525, allocations: 75.72 kB / 0.4886 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000914/0.5259, allocations: 0.5472 MB / 0.4891 GB, free: 9.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5261, allocations: 361.9 kB / 0.4894 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.5275, allocations: 0.8089 MB / 0.4902 GB, free: 8.688 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.5303, allocations: 2.239 MB / 0.4924 GB, free: 5.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.5343, allocations: 2.96 MB / 0.4953 GB, free: 2.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/0.5344, allocations: 16 kB / 0.4953 GB, free: 2.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005535/0.5399, allocations: 3.021 MB / 0.4983 GB, free: 15.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.54, allocations: 24 kB / 0.4983 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.3e-05/0.5401, allocations: 56.09 kB / 0.4983 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.418e-05/0.5401, allocations: 68 kB / 0.4984 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.5419, allocations: 0.5732 MB / 0.499 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.542, allocations: 99.58 kB / 0.4991 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.5442, allocations: 401.3 kB / 0.4994 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.5444, allocations: 148 kB / 0.4996 GB, free: 13.67 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.002706/0.5471, allocations: 1.734 MB / 0.5013 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.5474, allocations: 147 kB / 0.5014 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.5479, allocations: 239 kB / 0.5016 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/0.548, allocations: 101.5 kB / 0.5017 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.548, allocations: 0 / 0.5017 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.548, allocations: 0 / 0.5017 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/0.5543, allocations: 2.981 MB / 0.5047 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.5543, allocations: 0 / 0.5047 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.5544, allocations: 12 kB / 0.5047 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5544, allocations: 32 / 0.5047 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5544, allocations: 4 kB / 0.5047 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.5544, allocations: 4.375 kB / 0.5047 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5544, allocations: 3.938 kB / 0.5047 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.5549, allocations: 383.1 kB / 0.505 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.5553, allocations: 155.1 kB / 0.5052 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.5555, allocations: 4 kB / 0.5052 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.5561, allocations: 27.95 kB / 0.5052 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.5561, allocations: 7.984 kB / 0.5052 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.5561, allocations: 8 kB / 0.5052 GB, free: 7.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002145/0.5582, allocations: 1.392 MB / 0.5066 GB, free: 6.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5582, allocations: 7.938 kB / 0.5066 GB, free: 6.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002739/0.561, allocations: 1.004 MB / 0.5076 GB, free: 5.379 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.001021/0.562, allocations: 0.9505 MB / 0.5085 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.5645, allocations: 1.391 MB / 0.5099 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5645, allocations: 448 / 0.5099 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.5646, allocations: 35.98 kB / 0.5099 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.5662, allocations: 321.6 kB / 0.5102 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/0.6006, allocations: 19.3 MB / 0.5291 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004985/0.6056, allocations: 2.582 MB / 0.5316 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002183/0.6078, allocations: 0.7984 MB / 0.5324 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002302/0.6101, allocations: 1.327 MB / 0.5337 GB, free: 8.918 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.6101, allocations: 0 / 0.5337 GB, free: 8.918 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/0.8948, allocations: 44.34 MB / 0.577 GB, free: 140.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.19, allocations: 8.641 kB / 0.577 GB, free: 140.9 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.835685310419649]