Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 47.92 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2551, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01054/0.2656, allocations: 7.99 MB / 430.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00553/0.2711, allocations: 2.48 MB / 433 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008652/0.272, allocations: 75.69 kB / 433.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008262/0.2803, allocations: 3.467 MB / 436.6 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.2832, allocations: 0.9047 MB / 437.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.2852, allocations: 0.7751 MB / 438.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.2896, allocations: 3.646 MB / 441.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008425/0.2981, allocations: 6.136 MB / 448 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.3008, allocations: 2.131 MB / 450.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.3039, allocations: 2.293 MB / 452.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008482/0.3048, allocations: 0.586 MB / 453.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.3062, allocations: 0.7888 MB / 453.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009991/0.3072, allocations: 1.11 MB / 455 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.3092, allocations: 1.778 MB / 456.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009083/0.3183, allocations: 7.943 MB / 464.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3183, allocations: 0 / 464.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3183, allocations: 0 / 464.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.3185, allocations: 4 kB / 464.7 MB, free: 4.09 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.01235/0.3309, allocations: 4.861 MB / 469.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3309, allocations: 12.03 kB / 469.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008958/0.3318, allocations: 0.5884 MB / 470.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007478/0.3393, allocations: 1.282 MB / 471.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005346/0.3447, allocations: 2.305 MB / 473.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.3449, allocations: 316.4 kB / 474 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008074/0.3457, allocations: 408 kB / 474.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.3574, allocations: 5.494 MB / 479.9 MB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.77e-05/0.3575, allocations: 7.938 kB / 479.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.3579, allocations: 180 kB / 480.1 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.3581, allocations: 176.6 kB / 480.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009262/0.3674, allocations: 4.781 MB / 485.1 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.3959, allocations: 17.07 MB / 0.4904 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.3998, allocations: 1.733 MB / 0.4921 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.4011, allocations: 0.7184 MB / 0.4928 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.4013, allocations: 32.98 kB / 0.4928 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.4013, allocations: 43.56 kB / 0.4928 GB, free: 11.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.447e-06/0.4013, allocations: 0 / 0.4928 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002505/0.4038, allocations: 1.565 MB / 0.4944 GB, free: 9.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.4039, allocations: 60.41 kB / 0.4944 GB, free: 9.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.4058, allocations: 1.396 MB / 0.4958 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.4059, allocations: 45.7 kB / 0.4958 GB, free: 8.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.4073, allocations: 1.819 MB / 0.4976 GB, free: 6.414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.4076, allocations: 384.8 kB / 0.498 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006494/0.4083, allocations: 455.6 kB / 0.4984 GB, free: 5.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4085, allocations: 349.9 kB / 0.4987 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4098, allocations: 0.8357 MB / 0.4996 GB, free: 4.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.412, allocations: 1.823 MB / 0.5013 GB, free: 2.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.4155, allocations: 2.79 MB / 0.5041 GB, free: 14.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.4155, allocations: 12 kB / 0.5041 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004227/0.4198, allocations: 2.739 MB / 0.5068 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4198, allocations: 16 kB / 0.5068 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/0.4198, allocations: 36 kB / 0.5068 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.763e-05/0.4199, allocations: 48 kB / 0.5068 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.4216, allocations: 0.523 MB / 0.5074 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-05/0.4216, allocations: 67.78 kB / 0.5074 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.4229, allocations: 290.1 kB / 0.5077 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.423, allocations: 115.9 kB / 0.5078 GB, free: 10.98 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.002261/0.4253, allocations: 1.484 MB / 0.5093 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.4255, allocations: 127.2 kB / 0.5094 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.4279, allocations: 1.466 MB / 0.5108 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001536/0.4295, allocations: 1.029 MB / 0.5118 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4295, allocations: 0 / 0.5118 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4295, allocations: 7.984 kB / 0.5118 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.4464, allocations: 10.82 MB / 0.5224 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.4464, allocations: 20 kB / 0.5224 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.4473, allocations: 231.5 kB / 0.5226 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-05/0.4473, allocations: 28 kB / 0.5227 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.4474, allocations: 48 kB / 0.5227 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-05/0.4474, allocations: 43.84 kB / 0.5227 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.574e-05/0.4474, allocations: 31.88 kB / 0.5228 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.4511, allocations: 2.664 MB / 0.5254 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007727/0.4519, allocations: 262.9 kB / 0.5256 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.4521, allocations: 55.92 kB / 0.5257 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.4528, allocations: 71.88 kB / 0.5258 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.453, allocations: 151.2 kB / 0.5259 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.4531, allocations: 55.98 kB / 0.526 GB, free: 7.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001411/0.4545, allocations: 0.9062 MB / 0.5268 GB, free: 6.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4545, allocations: 4.062 kB / 0.5268 GB, free: 6.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002477/0.457, allocations: 0.8793 MB / 0.5277 GB, free: 5.891 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.004/0.461, allocations: 3.309 MB / 0.5309 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.4639, allocations: 1.841 MB / 0.5327 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.4639, allocations: 4 kB / 0.5327 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.4648, allocations: 0.6092 MB / 0.5333 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.4667, allocations: 338.3 kB / 0.5336 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2213/0.6881, allocations: 18.64 MB / 0.5518 GB, free: 119.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/0.6905, allocations: 2.256 MB / 0.5541 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001599/0.6921, allocations: 0.7612 MB / 0.5548 GB, free: 119 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.6933, allocations: 1.14 MB / 0.5559 GB, free: 118 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6933, allocations: 4 kB / 0.5559 GB, free: 118 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0776/0.7709, allocations: 40.36 MB / 0.5953 GB, free: 82.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.68, allocations: 3.375 kB / 0.5953 GB, free: 82.43 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.24461425608024]