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.001298/0.001298, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001463/0.001463, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001496/0.001496, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01074/0.242, allocations: 8.004 MB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.2475, allocations: 2.534 MB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.2485, allocations: 79.62 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008419/0.2569, allocations: 3.465 MB / 445.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.2598, allocations: 0.7525 MB / 445.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.2619, allocations: 0.9167 MB / 446.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.2663, allocations: 3.642 MB / 450.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008584/0.2749, allocations: 6.191 MB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.2779, allocations: 2.143 MB / 458.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.2814, allocations: 2.394 MB / 461.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008078/0.2822, allocations: 0.582 MB / 461.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2838, allocations: 0.8123 MB / 462.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.2849, allocations: 1.114 MB / 463.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.287, allocations: 1.771 MB / 465.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008137/0.2952, allocations: 7.951 MB / 473.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2952, allocations: 0 / 473.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2952, allocations: 4 kB / 473.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001493/0.2953, allocations: 0 / 473.4 MB, free: 12.06 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.01158/0.3069, allocations: 4.861 MB / 478.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.307, allocations: 12.03 kB / 478.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009425/0.3079, allocations: 0.5923 MB / 478.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0078/0.3157, allocations: 1.279 MB / 480.2 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/0.321, allocations: 2.317 MB / 482.5 MB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.3213, allocations: 316.4 kB / 482.8 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008744/0.3222, allocations: 411.9 kB / 483.2 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.3339, allocations: 5.51 MB / 488.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.334, allocations: 4 kB / 488.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.3344, allocations: 164 kB / 488.9 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.3346, allocations: 184.6 kB / 489.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008605/0.3432, allocations: 4.792 MB / 493.9 MB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/0.3718, allocations: 17.09 MB / 0.499 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/0.3757, allocations: 1.756 MB / 0.5007 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.377, allocations: 0.7145 MB / 0.5014 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.3771, allocations: 40.97 kB / 0.5014 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.3772, allocations: 51.55 kB / 0.5015 GB, free: 3.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.246e-06/0.3772, allocations: 4 kB / 0.5015 GB, free: 3.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002578/0.3798, allocations: 1.558 MB / 0.503 GB, free: 1.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3798, allocations: 60.41 kB / 0.5031 GB, free: 1.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.3818, allocations: 1.404 MB / 0.5044 GB, free: 200 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.3819, allocations: 41.7 kB / 0.5045 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.3832, allocations: 1.823 MB / 0.5063 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.3835, allocations: 377 kB / 0.5066 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/0.3842, allocations: 459.7 kB / 0.507 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3844, allocations: 349.9 kB / 0.5074 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.3856, allocations: 0.8318 MB / 0.5082 GB, free: 12.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.3879, allocations: 1.823 MB / 0.51 GB, free: 9.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.3915, allocations: 2.802 MB / 0.5127 GB, free: 6.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/0.3916, allocations: 12 kB / 0.5127 GB, free: 6.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004281/0.3958, allocations: 2.743 MB / 0.5154 GB, free: 3.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.3959, allocations: 20 kB / 0.5154 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/0.3959, allocations: 32 kB / 0.5155 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.535e-05/0.396, allocations: 51.94 kB / 0.5155 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3977, allocations: 0.5264 MB / 0.516 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.399e-05/0.3978, allocations: 67.78 kB / 0.5161 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.3991, allocations: 290.4 kB / 0.5164 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.3993, allocations: 123.9 kB / 0.5165 GB, free: 2.844 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.002229/0.4015, allocations: 1.484 MB / 0.5179 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.4017, allocations: 127.2 kB / 0.518 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.4042, allocations: 1.462 MB / 0.5195 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001576/0.4058, allocations: 1.037 MB / 0.5205 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.4058, allocations: 0 / 0.5205 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.4058, allocations: 7.969 kB / 0.5205 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.4223, allocations: 10.94 MB / 0.5312 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/0.4223, allocations: 24 kB / 0.5312 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.4232, allocations: 232.4 kB / 0.5314 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.06e-05/0.4232, allocations: 28 kB / 0.5315 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/0.4233, allocations: 55.94 kB / 0.5315 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.883e-05/0.4234, allocations: 43.84 kB / 0.5315 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-05/0.4234, allocations: 31.88 kB / 0.5316 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.427, allocations: 2.672 MB / 0.5342 GB, free: 0 / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2002/0.6272, allocations: 260 kB / 0.5344 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.6274, allocations: 53.02 kB / 0.5345 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.6282, allocations: 69.14 kB / 0.5346 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.6285, allocations: 153 kB / 0.5347 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6286, allocations: 61.41 kB / 0.5348 GB, free: 97.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.6299, allocations: 0.9054 MB / 0.5356 GB, free: 96.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6299, allocations: 2.5 kB / 0.5356 GB, free: 96.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002344/0.6322, allocations: 0.8756 MB / 0.5365 GB, free: 96.96 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.002997/0.6352, allocations: 3.31 MB / 0.5397 GB, free: 95.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.6376, allocations: 1.844 MB / 0.5415 GB, free: 94.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.6376, allocations: 3.969 kB / 0.5415 GB, free: 94.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006775/0.6383, allocations: 0.6157 MB / 0.5421 GB, free: 94.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.6401, allocations: 338.3 kB / 0.5425 GB, free: 94.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.6573, allocations: 18.61 MB / 0.5606 GB, free: 80.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.6589, allocations: 2.258 MB / 0.5628 GB, free: 78.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.6603, allocations: 0.7586 MB / 0.5636 GB, free: 77.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000958/0.6612, allocations: 1.151 MB / 0.5647 GB, free: 76.58 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6612, allocations: 0 / 0.5647 GB, free: 76.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/0.724, allocations: 41.53 MB / 0.6053 GB, free: 35.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.36, allocations: 16.23 kB / 0.6053 GB, free: 35.38 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.828803351003444]