Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.001684/0.001684, 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.002023/0.002023, 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.481/1.481, 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.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.001758/0.001758, allocations: 55.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2942, allocations: 49.17 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009754/0.3039, allocations: 9.758 MB / 406.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.3104, allocations: 2.774 MB / 408.9 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.3129, allocations: 67.3 kB / 409 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009728/0.3226, allocations: 3.803 MB / 412.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.3279, allocations: 0.933 MB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.3314, allocations: 0.9594 MB / 414.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007235/0.3386, allocations: 3.943 MB / 418.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.3521, allocations: 6.278 MB / 424.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.3573, allocations: 2.261 MB / 427.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006842/0.3642, allocations: 2.562 MB / 429.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001976/0.3661, allocations: 0.6016 MB / 430.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.3696, allocations: 0.8201 MB / 431.1 MB, free: 436 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.3718, allocations: 1.208 MB / 432.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004762/0.3766, allocations: 2.42 MB / 434.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.3896, allocations: 8.158 MB / 442.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3896, allocations: 3.938 kB / 442.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3896, allocations: 0 / 442.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002827/0.3899, allocations: 4 kB / 442.9 MB, free: 4.598 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01755/0.4075, allocations: 5.175 MB / 448.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.4075, allocations: 15.98 kB / 448.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002163/0.4097, allocations: 0.6377 MB / 448.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.4257, allocations: 2.585 MB / 451.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.4318, allocations: 2.169 MB / 453.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.4321, allocations: 337.1 kB / 453.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.4333, allocations: 436 kB / 454.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.4468, allocations: 6.114 MB / 460.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.4469, allocations: 7.953 kB / 460.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004988/0.4474, allocations: 180 kB / 460.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002527/0.4476, allocations: 217.3 kB / 460.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.4599, allocations: 5.779 MB / 466.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04148/0.5014, allocations: 20.22 MB / 486.8 MB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/0.5085, allocations: 2.746 MB / 489.5 MB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.5102, allocations: 0.8867 MB / 490.4 MB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006107/0.5163, allocations: 2.516 MB / 492.9 MB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.5163, allocations: 38.73 kB / 492.9 MB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.5163, allocations: 0 / 492.9 MB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001457/0.5178, allocations: 0.6538 MB / 493.6 MB, free: 1.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.5179, allocations: 51.41 kB / 493.6 MB, free: 1.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/0.5219, allocations: 1.987 MB / 495.6 MB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.522, allocations: 29.7 kB / 495.7 MB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/0.5244, allocations: 2.268 MB / 497.9 MB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.5247, allocations: 163 kB / 498.1 MB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.5259, allocations: 0.5475 MB / 498.6 MB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.5261, allocations: 349.9 kB / 499 MB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.5277, allocations: 0.8715 MB / 499.9 MB, free: 10.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.5308, allocations: 2.239 MB / 0.4903 GB, free: 8.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004391/0.5352, allocations: 3.071 MB / 0.4933 GB, free: 4.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.169e-05/0.5353, allocations: 15.94 kB / 0.4933 GB, free: 4.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00593/0.5412, allocations: 3.134 MB / 0.4964 GB, free: 1.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.5412, allocations: 28.25 kB / 0.4964 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/0.5413, allocations: 48 kB / 0.4965 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.915e-05/0.5414, allocations: 67.98 kB / 0.4965 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.5433, allocations: 0.5927 MB / 0.4971 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.93e-05/0.5434, allocations: 95.64 kB / 0.4972 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.5457, allocations: 425.3 kB / 0.4976 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.5459, allocations: 144 kB / 0.4978 GB, free: 15.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002893/0.5488, allocations: 1.562 MB / 0.4993 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.5491, allocations: 139 kB / 0.4994 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.5503, allocations: 0.6057 MB / 0.5 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005017/0.5508, allocations: 329.4 kB / 0.5003 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.5508, allocations: 0 / 0.5003 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5508, allocations: 0 / 0.5003 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/0.5594, allocations: 3.821 MB / 0.504 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.5594, allocations: 8 kB / 0.5041 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.5597, allocations: 63.89 kB / 0.5041 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5597, allocations: 4 kB / 0.5041 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.5597, allocations: 12 kB / 0.5041 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.5597, allocations: 8 kB / 0.5041 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5597, allocations: 7.938 kB / 0.5041 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.5611, allocations: 0.9056 MB / 0.505 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.5619, allocations: 195 kB / 0.5052 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.5622, allocations: 12 kB / 0.5052 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.5629, allocations: 43.94 kB / 0.5053 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.563, allocations: 31.84 kB / 0.5053 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.563, allocations: 16.06 kB / 0.5053 GB, free: 7.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002321/0.5653, allocations: 1.343 MB / 0.5066 GB, free: 6.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5653, allocations: 0 / 0.5066 GB, free: 6.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003105/0.5684, allocations: 0.9338 MB / 0.5075 GB, free: 5.461 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.001928/0.5704, allocations: 1.485 MB / 0.509 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.5735, allocations: 1.584 MB / 0.5105 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5735, allocations: 0 / 0.5105 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.5738, allocations: 176.9 kB / 0.5107 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.5757, allocations: 297.1 kB / 0.511 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/0.6142, allocations: 19.36 MB / 0.5299 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004696/0.6189, allocations: 2.891 MB / 0.5327 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00231/0.6212, allocations: 0.7748 MB / 0.5335 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/0.6236, allocations: 1.21 MB / 0.5347 GB, free: 7.793 MB / 462.1 MB Notification: Performance of SimCode: time 2.134e-06/0.6237, allocations: 4 kB / 0.5347 GB, free: 7.789 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3267/0.9503, allocations: 43.82 MB / 0.5775 GB, free: 140.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.78, allocations: 1.969 kB / 0.5775 GB, free: 140.4 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.42782101407647]