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.001477/0.001477, allocations: 112.5 kB / 21.22 MB, free: 0.7461 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.001725/0.001725, allocations: 213.1 kB / 24.53 MB, free: 4.145 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001426/0.001426, allocations: 47.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2709, allocations: 53.35 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01142/0.2823, allocations: 9.809 MB / 441.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005451/0.2878, allocations: 2.775 MB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.2887, allocations: 91.5 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0085/0.2972, allocations: 4.226 MB / 448.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.3002, allocations: 0.7998 MB / 449.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.3025, allocations: 0.9711 MB / 450.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004643/0.3071, allocations: 4.093 MB / 454.7 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00948/0.3166, allocations: 7.117 MB / 461.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.3201, allocations: 2.416 MB / 464.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.3238, allocations: 2.663 MB / 466.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009301/0.3247, allocations: 0.6641 MB / 467.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.3263, allocations: 0.8865 MB / 468.4 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.3274, allocations: 1.243 MB / 469.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002934/0.3303, allocations: 2.564 MB / 472.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009307/0.3396, allocations: 8.925 MB / 481.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3396, allocations: 0 / 481.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3396, allocations: 0 / 481.2 MB, free: 5.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001706/0.3398, allocations: 0 / 481.2 MB, free: 5.344 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.01402/0.3538, allocations: 5.335 MB / 486.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3539, allocations: 8.031 kB / 486.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001154/0.354, allocations: 125.6 kB / 486.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.355, allocations: 0.65 MB / 487.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00744/0.3624, allocations: 1.317 MB / 488.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004801/0.3672, allocations: 2.613 MB / 491.2 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.3675, allocations: 345.4 kB / 491.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008245/0.3683, allocations: 456 kB / 492 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3789, allocations: 6.106 MB / 498.1 MB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.081e-05/0.379, allocations: 7.953 kB / 498.1 MB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.3794, allocations: 184 kB / 498.3 MB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.3796, allocations: 193.5 kB / 498.5 MB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009518/0.3891, allocations: 5.292 MB / 0.492 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02978/0.4189, allocations: 20.23 MB / 0.5117 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/0.4239, allocations: 2.108 MB / 0.5138 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009369/0.4248, allocations: 0.5962 MB / 0.5144 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.425, allocations: 44.94 kB / 0.5144 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.425, allocations: 43.56 kB / 0.5144 GB, free: 6.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.058e-06/0.425, allocations: 7.922 kB / 0.5145 GB, free: 6.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002222/0.4272, allocations: 1.437 MB / 0.5159 GB, free: 5.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4273, allocations: 64.41 kB / 0.5159 GB, free: 5.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.4292, allocations: 1.462 MB / 0.5173 GB, free: 3.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/0.4293, allocations: 41.7 kB / 0.5174 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.4308, allocations: 2.045 MB / 0.5194 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.4311, allocations: 361.1 kB / 0.5197 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006395/0.4317, allocations: 483.8 kB / 0.5202 GB, free: 1.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4319, allocations: 353.9 kB / 0.5205 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4331, allocations: 0.8124 MB / 0.5213 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.4353, allocations: 1.945 MB / 0.5232 GB, free: 13.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.4387, allocations: 2.927 MB / 0.5261 GB, free: 9.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.4387, allocations: 8 kB / 0.5261 GB, free: 9.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004213/0.4429, allocations: 2.805 MB / 0.5288 GB, free: 7.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.443, allocations: 23.94 kB / 0.5288 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-05/0.443, allocations: 40 kB / 0.5289 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.998e-05/0.4431, allocations: 52 kB / 0.5289 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.4446, allocations: 0.5381 MB / 0.5295 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.396e-05/0.4447, allocations: 76.25 kB / 0.5295 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4459, allocations: 305.9 kB / 0.5298 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.4461, allocations: 128 kB / 0.5299 GB, free: 5.91 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.002422/0.4485, allocations: 1.664 MB / 0.5316 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.4487, allocations: 139 kB / 0.5317 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.4508, allocations: 1.334 MB / 0.533 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001269/0.452, allocations: 0.9396 MB / 0.5339 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.452, allocations: 0 / 0.5339 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.4521, allocations: 3.984 kB / 0.5339 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2163/0.6684, allocations: 11.1 MB / 0.5448 GB, free: 93.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.6684, allocations: 19.81 kB / 0.5448 GB, free: 93.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.669, allocations: 214.9 kB / 0.545 GB, free: 93.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.746e-05/0.6691, allocations: 26.25 kB / 0.545 GB, free: 93.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.6691, allocations: 54.97 kB / 0.5451 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.6691, allocations: 39.31 kB / 0.5451 GB, free: 93.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.6692, allocations: 27.69 kB / 0.5451 GB, free: 93.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.6713, allocations: 2.465 MB / 0.5475 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.6718, allocations: 255.8 kB / 0.5478 GB, free: 92.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.6719, allocations: 49.72 kB / 0.5478 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.6726, allocations: 62.08 kB / 0.5479 GB, free: 92.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6727, allocations: 141.3 kB / 0.548 GB, free: 91.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.6728, allocations: 54.91 kB / 0.5481 GB, free: 91.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.6738, allocations: 0.9879 MB / 0.549 GB, free: 91.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6738, allocations: 0 / 0.549 GB, free: 91.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002311/0.6761, allocations: 0.9582 MB / 0.55 GB, free: 91.41 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.00244/0.6786, allocations: 3.096 MB / 0.553 GB, free: 89.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.6807, allocations: 1.802 MB / 0.5548 GB, free: 88.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.6807, allocations: 3.906 kB / 0.5548 GB, free: 88.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.6813, allocations: 0.5584 MB / 0.5553 GB, free: 88.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.6832, allocations: 382.8 kB / 0.5557 GB, free: 88.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.7031, allocations: 19.61 MB / 0.5748 GB, free: 66.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/0.705, allocations: 3.067 MB / 0.5778 GB, free: 63.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001397/0.7064, allocations: 0.8093 MB / 0.5786 GB, free: 62.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.7075, allocations: 1.265 MB / 0.5799 GB, free: 61.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7075, allocations: 3.938 kB / 0.5799 GB, free: 61.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/0.7792, allocations: 45.06 MB / 0.6239 GB, free: 16.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.57, allocations: 11.25 kB / 0.6239 GB, free: 16.88 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.306310645013582]