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.001372/0.001372, 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.001455/0.001455, 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.539/1.539, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001949/0.001949, allocations: 55.91 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2808, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.0111/0.2919, allocations: 8.46 MB / 404.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008306/0.3002, allocations: 2.66 MB / 407.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.303, allocations: 67 kB / 407.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008789/0.3118, allocations: 3.503 MB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.3168, allocations: 0.9133 MB / 412 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.3199, allocations: 0.9131 MB / 412.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.3261, allocations: 3.939 MB / 416.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.3382, allocations: 6.222 MB / 423 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.3427, allocations: 2.271 MB / 425.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/0.3479, allocations: 2.464 MB / 427.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001674/0.3496, allocations: 0.6094 MB / 428.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.3523, allocations: 0.8045 MB / 429.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.3545, allocations: 1.208 MB / 430.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003866/0.3584, allocations: 1.883 MB / 432.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.3696, allocations: 8.192 MB / 440.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3696, allocations: 12 kB / 440.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3696, allocations: 0 / 440.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002466/0.3699, allocations: 0 / 440.5 MB, free: 6.828 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.0162/0.3861, allocations: 5.171 MB / 445.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3861, allocations: 11.98 kB / 445.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002519/0.3887, allocations: 0.6455 MB / 446.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/0.4054, allocations: 2.585 MB / 448.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006553/0.4119, allocations: 2.165 MB / 451.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.4124, allocations: 333.1 kB / 451.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.4141, allocations: 440 kB / 451.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.431, allocations: 6.132 MB / 457.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.4312, allocations: 7.938 kB / 457.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.4325, allocations: 188 kB / 458.1 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/0.4328, allocations: 217.3 kB / 458.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.4454, allocations: 5.756 MB / 464.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03731/0.4827, allocations: 18.65 MB / 482.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006609/0.4893, allocations: 2.691 MB / 485.4 MB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.4912, allocations: 0.8907 MB / 486.3 MB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005977/0.4972, allocations: 2.364 MB / 488.7 MB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.4972, allocations: 42.72 kB / 488.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.4972, allocations: 0 / 488.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001216/0.4984, allocations: 0.6499 MB / 489.4 MB, free: 5.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4985, allocations: 55.41 kB / 489.4 MB, free: 5.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.5019, allocations: 2.091 MB / 491.5 MB, free: 3.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5019, allocations: 29.7 kB / 491.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.5038, allocations: 2.276 MB / 493.8 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.504, allocations: 151.1 kB / 494 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008742/0.5049, allocations: 0.5552 MB / 494.5 MB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.5051, allocations: 345.9 kB / 494.9 MB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.5065, allocations: 0.8715 MB / 495.7 MB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.5093, allocations: 2.247 MB / 498 MB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.5135, allocations: 3.059 MB / 0.4893 GB, free: 8.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.519e-05/0.5136, allocations: 16 kB / 0.4893 GB, free: 8.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005506/0.5191, allocations: 3.137 MB / 0.4924 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.5192, allocations: 27.91 kB / 0.4924 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.349e-05/0.5192, allocations: 52 kB / 0.4925 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.339e-05/0.5193, allocations: 64 kB / 0.4925 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.5212, allocations: 0.5894 MB / 0.4931 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-05/0.5213, allocations: 95.66 kB / 0.4932 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.5234, allocations: 413.3 kB / 0.4936 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.5236, allocations: 155.9 kB / 0.4937 GB, free: 3.633 MB / 414.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.002649/0.5263, allocations: 1.566 MB / 0.4953 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.5266, allocations: 139 kB / 0.4954 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.5277, allocations: 0.6096 MB / 0.496 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004632/0.5281, allocations: 329.4 kB / 0.4963 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5281, allocations: 4 kB / 0.4963 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5281, allocations: 3.938 kB / 0.4963 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.5352, allocations: 3.727 MB / 0.5 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.5352, allocations: 8 kB / 0.5 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.5355, allocations: 51.91 kB / 0.5 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.5356, allocations: 8 kB / 0.5 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.5356, allocations: 12.59 kB / 0.5 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.5356, allocations: 8 kB / 0.5 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.5356, allocations: 11.92 kB / 0.5 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.537, allocations: 0.9016 MB / 0.5009 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/0.5376, allocations: 195 kB / 0.5011 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.538, allocations: 15.94 kB / 0.5011 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.5387, allocations: 39.94 kB / 0.5012 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.5388, allocations: 35.84 kB / 0.5012 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.5388, allocations: 20.05 kB / 0.5012 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002464/0.5413, allocations: 1.331 MB / 0.5025 GB, free: 10.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5413, allocations: 0 / 0.5025 GB, free: 10.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003221/0.5445, allocations: 0.9377 MB / 0.5034 GB, free: 9.449 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.001909/0.5464, allocations: 1.485 MB / 0.5049 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.5494, allocations: 1.579 MB / 0.5064 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.5494, allocations: 0 / 0.5064 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.5497, allocations: 173.3 kB / 0.5066 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.5516, allocations: 301.8 kB / 0.5069 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/0.5853, allocations: 19.36 MB / 0.5258 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003878/0.5892, allocations: 2.35 MB / 0.5281 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002154/0.5914, allocations: 0.7709 MB / 0.5288 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/0.5934, allocations: 1.218 MB / 0.53 GB, free: 12.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5934, allocations: 0 / 0.53 GB, free: 12.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/0.8693, allocations: 42.33 MB / 0.5714 GB, free: 144.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.1, allocations: 4.047 kB / 0.5714 GB, free: 144.8 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.761311687063426]