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.001546/0.001546, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001677/0.001677, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 7.777 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 43.92 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 53.37 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009913/0.2719, allocations: 8 MB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.2773, allocations: 2.53 MB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007377/0.278, allocations: 79.62 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007676/0.2857, allocations: 3.468 MB / 445.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.2885, allocations: 0.745 MB / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.2905, allocations: 0.9198 MB / 447.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.2947, allocations: 3.646 MB / 451.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008119/0.3028, allocations: 6.183 MB / 457.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.3057, allocations: 2.143 MB / 459.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.3093, allocations: 2.394 MB / 462 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009271/0.3102, allocations: 0.582 MB / 462.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.3118, allocations: 0.8122 MB / 463.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.3129, allocations: 1.111 MB / 464.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.3152, allocations: 1.774 MB / 466.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.3234, allocations: 7.955 MB / 474.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3234, allocations: 4 kB / 474.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3234, allocations: 0 / 474.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.3235, allocations: 0 / 474.2 MB, free: 12.1 MB / 382.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.01296/0.3365, allocations: 4.861 MB / 479.1 MB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3365, allocations: 12.03 kB / 479.1 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001167/0.3367, allocations: 108.6 kB / 479.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009074/0.3376, allocations: 0.5923 MB / 479.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007549/0.3451, allocations: 1.282 MB / 481.1 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.3493, allocations: 2.321 MB / 483.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.3495, allocations: 312.4 kB / 483.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006581/0.3502, allocations: 412 kB / 484.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009784/0.36, allocations: 5.502 MB / 489.6 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.37e-05/0.3601, allocations: 0 / 489.6 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.3604, allocations: 171.9 kB / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.3606, allocations: 180.6 kB / 489.9 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007977/0.3686, allocations: 4.812 MB / 494.8 MB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.3956, allocations: 17.09 MB / 0.4999 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004045/0.3996, allocations: 1.753 MB / 0.5016 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.4008, allocations: 0.7145 MB / 0.5023 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.401, allocations: 36.97 kB / 0.5023 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.4011, allocations: 47.55 kB / 0.5023 GB, free: 3.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 5.01e-06/0.4011, allocations: 3.984 kB / 0.5023 GB, free: 3.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002546/0.4036, allocations: 1.558 MB / 0.5039 GB, free: 1.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.4037, allocations: 60.41 kB / 0.5039 GB, free: 1.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.4059, allocations: 1.349 MB / 0.5052 GB, free: 172 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/0.4059, allocations: 41.7 kB / 0.5053 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.4073, allocations: 1.827 MB / 0.5071 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4077, allocations: 377 kB / 0.5074 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006924/0.4084, allocations: 459.6 kB / 0.5079 GB, free: 13.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4086, allocations: 349.9 kB / 0.5082 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.4099, allocations: 0.8318 MB / 0.509 GB, free: 12.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.412, allocations: 1.82 MB / 0.5108 GB, free: 9.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/0.4155, allocations: 2.806 MB / 0.5135 GB, free: 6.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.877e-05/0.4155, allocations: 8 kB / 0.5135 GB, free: 6.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004809/0.4203, allocations: 2.743 MB / 0.5162 GB, free: 3.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.4204, allocations: 20 kB / 0.5162 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.206e-05/0.4205, allocations: 35.94 kB / 0.5163 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-05/0.4205, allocations: 48 kB / 0.5163 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.4223, allocations: 0.5193 MB / 0.5168 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-05/0.4223, allocations: 75.72 kB / 0.5169 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4238, allocations: 297.9 kB / 0.5172 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.424, allocations: 116 kB / 0.5173 GB, free: 2.816 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.002342/0.4263, allocations: 1.484 MB / 0.5187 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.4266, allocations: 127.2 kB / 0.5189 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.429, allocations: 1.454 MB / 0.5203 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001532/0.4306, allocations: 1.045 MB / 0.5213 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.4306, allocations: 0 / 0.5213 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4306, allocations: 11.91 kB / 0.5213 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.4486, allocations: 10.94 MB / 0.532 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.524e-05/0.4487, allocations: 20.22 kB / 0.532 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.4496, allocations: 235.6 kB / 0.5322 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/0.4497, allocations: 28 kB / 0.5323 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.4498, allocations: 47.98 kB / 0.5323 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.951e-05/0.4498, allocations: 47.78 kB / 0.5324 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.293e-05/0.4498, allocations: 31.88 kB / 0.5324 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2241/0.6739, allocations: 2.678 MB / 0.535 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009804/0.6749, allocations: 261.1 kB / 0.5352 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.6751, allocations: 52.2 kB / 0.5353 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.676, allocations: 66.41 kB / 0.5354 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.6763, allocations: 150.6 kB / 0.5355 GB, free: 97.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.6764, allocations: 58 kB / 0.5356 GB, free: 97.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.6778, allocations: 0.9058 MB / 0.5364 GB, free: 96.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6778, allocations: 2.719 kB / 0.5364 GB, free: 96.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002559/0.6804, allocations: 0.8814 MB / 0.5373 GB, free: 96.92 MB / 446.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.003348/0.6837, allocations: 3.304 MB / 0.5405 GB, free: 95.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.6865, allocations: 1.846 MB / 0.5423 GB, free: 94.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.6865, allocations: 3.969 kB / 0.5423 GB, free: 94.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.6873, allocations: 0.6186 MB / 0.5429 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.6891, allocations: 341.1 kB / 0.5433 GB, free: 94.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.7088, allocations: 18.61 MB / 0.5614 GB, free: 80.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.7106, allocations: 2.256 MB / 0.5636 GB, free: 78.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001377/0.7119, allocations: 0.7634 MB / 0.5644 GB, free: 77.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009613/0.7129, allocations: 1.144 MB / 0.5655 GB, free: 76.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.7129, allocations: 0 / 0.5655 GB, free: 76.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06415/0.777, allocations: 41.27 MB / 0.6058 GB, free: 35.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.65, allocations: 11.23 kB / 0.6058 GB, free: 35.65 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.31158888398204]