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.006503/0.006503, allocations: 110.4 kB / 21.96 MB, free: 5.25 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.001453/0.001453, allocations: 205.1 kB / 25.27 MB, free: 3.238 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.378/1.378, allocations: 207.6 MB / 236 MB, free: 9.996 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.001679/0.001679, allocations: 47.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2984, allocations: 49.16 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009/0.3074, allocations: 9.769 MB / 406.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005708/0.3131, allocations: 2.774 MB / 409.7 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.3148, allocations: 63.17 kB / 409.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008734/0.3235, allocations: 3.799 MB / 413.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.3273, allocations: 0.9333 MB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.3297, allocations: 0.9736 MB / 415.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00512/0.3348, allocations: 3.928 MB / 419.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008689/0.3435, allocations: 6.277 MB / 425.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.3473, allocations: 2.27 MB / 427.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.3523, allocations: 2.562 MB / 430.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.354, allocations: 0.6054 MB / 431.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3569, allocations: 0.8201 MB / 431.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.3584, allocations: 1.196 MB / 433.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004485/0.3629, allocations: 2.424 MB / 435.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.3736, allocations: 8.162 MB / 443.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3736, allocations: 0 / 443.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3736, allocations: 0 / 443.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000191/0.3738, allocations: 0 / 443.7 MB, free: 4.586 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.01398/0.3877, allocations: 5.175 MB / 448.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3878, allocations: 11.98 kB / 448.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001399/0.3879, allocations: 125.3 kB / 449 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001159/0.3891, allocations: 0.6455 MB / 449.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.4035, allocations: 2.585 MB / 452.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.409, allocations: 2.161 MB / 454.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.4093, allocations: 341.1 kB / 454.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.4108, allocations: 436 kB / 455.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.4245, allocations: 6.103 MB / 461.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.4246, allocations: 15.88 kB / 461.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.4251, allocations: 180 kB / 461.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/0.4253, allocations: 217.3 kB / 461.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.4368, allocations: 5.779 MB / 467.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.4706, allocations: 20.22 MB / 487.7 MB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/0.477, allocations: 2.742 MB / 490.4 MB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.4787, allocations: 0.8907 MB / 491.3 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00561/0.4843, allocations: 2.52 MB / 493.8 MB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.4843, allocations: 34.8 kB / 493.9 MB, free: 1.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.016e-06/0.4843, allocations: 4 kB / 493.9 MB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001372/0.4857, allocations: 0.6422 MB / 494.5 MB, free: 1.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4858, allocations: 55.41 kB / 494.6 MB, free: 1.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.4888, allocations: 1.995 MB / 496.5 MB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.4888, allocations: 33.7 kB / 496.6 MB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/0.4905, allocations: 2.272 MB / 498.9 MB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.4906, allocations: 147.1 kB / 499 MB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00079/0.4914, allocations: 0.5514 MB / 499.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4916, allocations: 349.9 kB / 499.9 MB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.4929, allocations: 0.8715 MB / 0.489 GB, free: 10.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.4954, allocations: 2.255 MB / 0.4912 GB, free: 7.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/0.4989, allocations: 3.059 MB / 0.4942 GB, free: 4.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/0.4989, allocations: 20 kB / 0.4942 GB, free: 4.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005121/0.504, allocations: 3.133 MB / 0.4973 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.5041, allocations: 27.91 kB / 0.4973 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-05/0.5041, allocations: 48.88 kB / 0.4974 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.258e-05/0.5042, allocations: 68 kB / 0.4974 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.506, allocations: 0.5888 MB / 0.498 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.69e-05/0.5061, allocations: 103.6 kB / 0.4981 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.508, allocations: 409.5 kB / 0.4985 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.5082, allocations: 148 kB / 0.4986 GB, free: 15.59 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.002517/0.5108, allocations: 1.562 MB / 0.5002 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.511, allocations: 146.8 kB / 0.5003 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.5121, allocations: 0.6019 MB / 0.5009 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000437/0.5125, allocations: 325.3 kB / 0.5012 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5125, allocations: 4 kB / 0.5012 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5125, allocations: 7.984 kB / 0.5012 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.5185, allocations: 3.82 MB / 0.5049 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.5185, allocations: 4.594 kB / 0.5049 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.5187, allocations: 55.91 kB / 0.505 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.5187, allocations: 8 kB / 0.505 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.5188, allocations: 12 kB / 0.505 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.5188, allocations: 11.92 kB / 0.505 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5188, allocations: 8 kB / 0.505 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5199, allocations: 0.8977 MB / 0.5059 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.5204, allocations: 195 kB / 0.5061 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.5206, allocations: 15.98 kB / 0.5061 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.5211, allocations: 47.95 kB / 0.5062 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.5212, allocations: 35.83 kB / 0.5062 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.5212, allocations: 12 kB / 0.5062 GB, free: 7.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.5232, allocations: 1.335 MB / 0.5075 GB, free: 6.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5232, allocations: 4 kB / 0.5075 GB, free: 6.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00263/0.5258, allocations: 0.9377 MB / 0.5084 GB, free: 5.32 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.00164/0.5274, allocations: 1.481 MB / 0.5099 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.5301, allocations: 1.579 MB / 0.5114 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5301, allocations: 0 / 0.5114 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.5303, allocations: 177.3 kB / 0.5116 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5319, allocations: 297.8 kB / 0.5119 GB, free: 1.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02892/0.5608, allocations: 19.37 MB / 0.5308 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/0.564, allocations: 2.895 MB / 0.5336 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001892/0.5659, allocations: 0.7748 MB / 0.5344 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.5674, allocations: 1.21 MB / 0.5356 GB, free: 7.645 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5674, allocations: 0 / 0.5356 GB, free: 7.645 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/0.8258, allocations: 43.85 MB / 0.5784 GB, free: 140.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.78, allocations: 7.906 kB / 0.5784 GB, free: 140.5 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.474565614014864]