Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001664/0.001664, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001958/0.001958, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.475/1.475, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 55.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1008, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.2286/0.3294, allocations: 9.177 MB / 435.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.3349, allocations: 2.648 MB / 438.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.3357, allocations: 79.72 kB / 438.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007273/0.343, allocations: 3.772 MB / 442 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.3466, allocations: 0.7462 MB / 442.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.349, allocations: 0.9265 MB / 443.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005391/0.3544, allocations: 3.628 MB / 447.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.3665, allocations: 7.374 MB / 454.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.3711, allocations: 2.139 MB / 456.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005716/0.3769, allocations: 2.383 MB / 459.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002018/0.3789, allocations: 0.5855 MB / 459.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.382, allocations: 0.8108 MB / 460.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.3835, allocations: 1.117 MB / 461.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003867/0.3874, allocations: 2.282 MB / 464 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.3978, allocations: 7.928 MB / 471.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3978, allocations: 0 / 471.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3978, allocations: 3.938 kB / 471.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002132/0.398, allocations: 0 / 471.9 MB, free: 2.539 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01452/0.4125, allocations: 4.935 MB / 476.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4125, allocations: 12.03 kB / 476.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009771/0.4135, allocations: 0.5923 MB / 477.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008086/0.4216, allocations: 1.286 MB / 478.7 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/0.4262, allocations: 2.323 MB / 481.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.4265, allocations: 312.4 kB / 481.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007689/0.4272, allocations: 420.8 kB / 481.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.4396, allocations: 5.481 MB / 487.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.4397, allocations: 0 / 487.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006766/0.4404, allocations: 168 kB / 487.4 MB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.4406, allocations: 180.6 kB / 487.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.4523, allocations: 4.808 MB / 492.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03878/0.4911, allocations: 19.34 MB / 0.4998 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00548/0.4966, allocations: 3.795 MB / 0.5035 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.498, allocations: 0.7145 MB / 0.5042 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.4983, allocations: 211.1 kB / 0.5044 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.4984, allocations: 43.56 kB / 0.5044 GB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.617e-06/0.4984, allocations: 0 / 0.5044 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.003005/0.5014, allocations: 1.562 MB / 0.5059 GB, free: 3.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.5014, allocations: 60.41 kB / 0.506 GB, free: 3.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/0.5044, allocations: 1.342 MB / 0.5073 GB, free: 2.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5045, allocations: 41.7 kB / 0.5073 GB, free: 2.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.5061, allocations: 1.823 MB / 0.5091 GB, free: 496 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004864/0.5066, allocations: 384.9 kB / 0.5095 GB, free: 108 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.5076, allocations: 455.7 kB / 0.5099 GB, free: 15.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5079, allocations: 349.9 kB / 0.5103 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.5093, allocations: 0.8317 MB / 0.5111 GB, free: 14.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.5119, allocations: 1.827 MB / 0.5128 GB, free: 12.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/0.5159, allocations: 2.802 MB / 0.5156 GB, free: 8.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.5159, allocations: 11.94 kB / 0.5156 GB, free: 8.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00496/0.5209, allocations: 2.751 MB / 0.5183 GB, free: 6.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.5209, allocations: 20 kB / 0.5183 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.978e-05/0.521, allocations: 32 kB / 0.5183 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.159e-05/0.521, allocations: 48 kB / 0.5184 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.5228, allocations: 0.5225 MB / 0.5189 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-05/0.5229, allocations: 67.73 kB / 0.519 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.525, allocations: 302.4 kB / 0.5192 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/0.5253, allocations: 112 kB / 0.5193 GB, free: 5.012 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.004065/0.5294, allocations: 1.484 MB / 0.5208 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/0.5298, allocations: 127.2 kB / 0.5209 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.5326, allocations: 1.455 MB / 0.5223 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001691/0.5343, allocations: 1.045 MB / 0.5234 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.5343, allocations: 0 / 0.5234 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.5343, allocations: 3.984 kB / 0.5234 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/0.5548, allocations: 13.76 MB / 0.5368 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.5548, allocations: 20 kB / 0.5368 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/0.5557, allocations: 235.5 kB / 0.537 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/0.5558, allocations: 28 kB / 0.5371 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5559, allocations: 47.98 kB / 0.5371 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-05/0.5559, allocations: 39.86 kB / 0.5372 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-05/0.5559, allocations: 36.28 kB / 0.5372 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.5597, allocations: 2.679 MB / 0.5398 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.5605, allocations: 335.9 kB / 0.5401 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.5608, allocations: 47.98 kB / 0.5402 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5619, allocations: 75.88 kB / 0.5402 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.5621, allocations: 139.4 kB / 0.5404 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.5622, allocations: 63.98 kB / 0.5404 GB, free: 14.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001931/0.5642, allocations: 0.9062 MB / 0.5413 GB, free: 13.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5642, allocations: 3.938 kB / 0.5413 GB, free: 13.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003539/0.5677, allocations: 0.8754 MB / 0.5422 GB, free: 12.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.004533/0.5722, allocations: 3.313 MB / 0.5454 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003461/0.5757, allocations: 1.845 MB / 0.5472 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.5757, allocations: 4 kB / 0.5472 GB, free: 6.754 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.5767, allocations: 0.613 MB / 0.5478 GB, free: 6.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5794, allocations: 342.2 kB / 0.5481 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03563/0.615, allocations: 18.6 MB / 0.5663 GB, free: 1.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/0.6203, allocations: 2.809 MB / 0.5691 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002295/0.6226, allocations: 0.7655 MB / 0.5698 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/0.6249, allocations: 1.148 MB / 0.5709 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.844e-06/0.6249, allocations: 0 / 0.5709 GB, free: 12.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08712/0.712, allocations: 39.68 MB / 0.6097 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.99, allocations: 6.328 kB / 0.6097 GB, free: 5.258 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 13.721565610030666]