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.001456/0.001456, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001434/0.001434, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.399/1.399, allocations: 207.6 MB / 232.5 MB, free: 11.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="cs",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.00171/0.00171, allocations: 51.92 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3069, allocations: 49.13 MB / 392.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008955/0.3159, allocations: 9.748 MB / 401.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006386/0.3222, allocations: 2.766 MB / 404.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.324, allocations: 66.5 kB / 404.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008959/0.333, allocations: 3.796 MB / 408.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.3373, allocations: 0.9052 MB / 409.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.3402, allocations: 0.9496 MB / 410.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006168/0.3464, allocations: 3.915 MB / 414.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.3592, allocations: 7.415 MB / 421.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.3634, allocations: 2.261 MB / 423.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00426/0.3676, allocations: 2.558 MB / 426.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009189/0.3685, allocations: 0.6055 MB / 427.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.3704, allocations: 0.8123 MB / 427.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.3716, allocations: 1.208 MB / 429.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.3747, allocations: 2.42 MB / 431.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009187/0.3839, allocations: 8.158 MB / 439.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3839, allocations: 0 / 439.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3839, allocations: 0 / 439.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001441/0.384, allocations: 0 / 439.7 MB, free: 4.602 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.01325/0.3973, allocations: 5.246 MB / 444.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3973, allocations: 12.03 kB / 445 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000133/0.3975, allocations: 117.3 kB / 445.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/0.3985, allocations: 0.6533 MB / 445.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.4137, allocations: 2.585 MB / 448.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004927/0.4187, allocations: 2.17 MB / 450.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003019/0.419, allocations: 337.1 kB / 450.8 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.4201, allocations: 440 kB / 451.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.4316, allocations: 6.103 MB / 457.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.688e-05/0.4317, allocations: 11.94 kB / 457.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/0.4321, allocations: 188 kB / 457.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/0.4323, allocations: 217.3 kB / 457.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.4429, allocations: 5.779 MB / 463.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03507/0.4779, allocations: 21.21 MB / 484.7 MB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009985/0.4879, allocations: 8.818 MB / 493.6 MB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.4898, allocations: 0.8985 MB / 494.5 MB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005959/0.4957, allocations: 3.558 MB / 498 MB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4957, allocations: 38.78 kB / 498.1 MB, free: 7.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 4.258e-06/0.4958, allocations: 3.984 kB / 498.1 MB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001245/0.497, allocations: 0.6538 MB / 498.7 MB, free: 6.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.497, allocations: 55.41 kB / 498.8 MB, free: 6.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.5, allocations: 1.991 MB / 0.489 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.5001, allocations: 25.7 kB / 0.489 GB, free: 4.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/0.5018, allocations: 2.276 MB / 0.4913 GB, free: 2.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.502, allocations: 147.1 kB / 0.4914 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/0.5028, allocations: 0.5552 MB / 0.492 GB, free: 1.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.503, allocations: 349.9 kB / 0.4923 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5044, allocations: 0.8793 MB / 0.4931 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.507, allocations: 2.243 MB / 0.4953 GB, free: 13.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/0.5108, allocations: 3.067 MB / 0.4983 GB, free: 9.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/0.5108, allocations: 15.94 kB / 0.4983 GB, free: 9.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005396/0.5162, allocations: 3.141 MB / 0.5014 GB, free: 6.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.5162, allocations: 28 kB / 0.5014 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-05/0.5163, allocations: 48 kB / 0.5015 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-05/0.5164, allocations: 64.75 kB / 0.5015 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.5182, allocations: 0.5888 MB / 0.5021 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-05/0.5183, allocations: 99.59 kB / 0.5022 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.5203, allocations: 413.2 kB / 0.5026 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.5206, allocations: 152 kB / 0.5028 GB, free: 5.438 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.00275/0.5233, allocations: 1.558 MB / 0.5043 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.5236, allocations: 135 kB / 0.5044 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5248, allocations: 0.6134 MB / 0.505 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004623/0.5252, allocations: 313.5 kB / 0.5053 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5253, allocations: 0 / 0.5053 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.5253, allocations: 3.984 kB / 0.5053 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.5318, allocations: 3.976 MB / 0.5092 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.5318, allocations: 4 kB / 0.5092 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.532, allocations: 52.5 kB / 0.5092 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.5321, allocations: 8 kB / 0.5093 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.5321, allocations: 16 kB / 0.5093 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.5321, allocations: 11.92 kB / 0.5093 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.5321, allocations: 8 kB / 0.5093 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.5334, allocations: 0.8858 MB / 0.5102 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.5339, allocations: 264 kB / 0.5104 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.534, allocations: 15.98 kB / 0.5104 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.5346, allocations: 44.02 kB / 0.5105 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.5347, allocations: 31.84 kB / 0.5105 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.5347, allocations: 12 kB / 0.5105 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002035/0.5367, allocations: 1.339 MB / 0.5118 GB, free: 11.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5367, allocations: 3.938 kB / 0.5118 GB, free: 11.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003157/0.5399, allocations: 0.9416 MB / 0.5127 GB, free: 10.91 MB / 446.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.001789/0.5417, allocations: 1.489 MB / 0.5142 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.5444, allocations: 1.591 MB / 0.5157 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.5444, allocations: 4 kB / 0.5157 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.5446, allocations: 173.3 kB / 0.5159 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.5463, allocations: 309.3 kB / 0.5162 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/0.5767, allocations: 19.36 MB / 0.5351 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/0.5798, allocations: 2.895 MB / 0.5379 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001829/0.5816, allocations: 0.7709 MB / 0.5387 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.5831, allocations: 1.214 MB / 0.5399 GB, free: 13.22 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5831, allocations: 0 / 0.5399 GB, free: 13.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2835/0.8667, allocations: 41.71 MB / 0.5806 GB, free: 135.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.38, allocations: 8.844 kB / 0.5806 GB, free: 135.7 MB / 478.1 MB " [Timeout remaining time 648] (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: 14.125630111026112]