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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 103.4 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 55.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08049/0.08158, allocations: 46.61 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009469/0.09109, allocations: 9.587 MB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.09606, allocations: 2.727 MB / 339 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006806/0.09681, allocations: 55.81 kB / 339.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006669/0.1035, allocations: 3.577 MB / 342.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.1063, allocations: 0.9606 MB / 343.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.1079, allocations: 0.7638 MB / 344.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003909/0.1118, allocations: 3.789 MB / 348.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009982/0.1218, allocations: 8.089 MB / 356.2 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.1243, allocations: 1.994 MB / 358.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.1269, allocations: 2.48 MB / 360.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.1276, allocations: 468 kB / 361.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.1289, allocations: 0.66 MB / 361.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008206/0.1298, allocations: 1.052 MB / 362.9 MB, free: 416 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.132, allocations: 2.256 MB / 365.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006733/0.1388, allocations: 7.985 MB / 373.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1388, allocations: 0 / 373.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1388, allocations: 0 / 373.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001543/0.139, allocations: 4 kB / 373.1 MB, free: 6.129 MB / 318.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.01161/0.1506, allocations: 5.182 MB / 378.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1507, allocations: 8.031 kB / 378.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008588/0.1515, allocations: 0.6416 MB / 379 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1535/0.305, allocations: 2.566 MB / 381.5 MB, free: 48.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.309, allocations: 2.16 MB / 383.7 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.3093, allocations: 334.6 kB / 384 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.3107, allocations: 440.4 kB / 384.4 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.3218, allocations: 6.126 MB / 390.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.853e-05/0.3219, allocations: 15 kB / 390.6 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000378/0.3223, allocations: 187 kB / 390.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.3224, allocations: 213.4 kB / 391 MB, free: 44.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007872/0.3303, allocations: 5.804 MB / 396.8 MB, free: 41.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.3519, allocations: 21.43 MB / 418.2 MB, free: 20.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/0.3576, allocations: 8.993 MB / 427.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3588, allocations: 1.012 MB / 428.2 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004142/0.3629, allocations: 3.682 MB / 431.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.363, allocations: 34.56 kB / 431.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.363, allocations: 0 / 431.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009426/0.3639, allocations: 0.7681 MB / 432.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.364, allocations: 55.41 kB / 432.8 MB, free: 4.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.3658, allocations: 1.982 MB / 434.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3659, allocations: 37.7 kB / 434.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/0.3665, allocations: 2.165 MB / 436.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.3666, allocations: 174.1 kB / 437.1 MB, free: 328 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000598/0.3672, allocations: 0.5511 MB / 437.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3673, allocations: 345.9 kB / 438 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.3685, allocations: 0.9106 MB / 438.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.3705, allocations: 2.29 MB / 441.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.3735, allocations: 3.141 MB / 444.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.3735, allocations: 19.94 kB / 444.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004227/0.3777, allocations: 3.204 MB / 447.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.3778, allocations: 24 kB / 447.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/0.3778, allocations: 48 kB / 447.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.516e-05/0.3779, allocations: 64 kB / 447.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.3795, allocations: 0.5965 MB / 448.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.96e-05/0.3796, allocations: 95.64 kB / 448.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.3813, allocations: 416.3 kB / 448.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.3814, allocations: 148 kB / 448.9 MB, free: 3.117 MB / 334.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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001928/0.3834, allocations: 1.562 MB / 450.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.3836, allocations: 126.3 kB / 450.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009492/0.3845, allocations: 0.7185 MB / 451.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004791/0.385, allocations: 406.9 kB / 451.7 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.385, allocations: 4 kB / 451.7 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.385, allocations: 3.984 kB / 451.7 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.39, allocations: 4.081 MB / 455.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.3901, allocations: 11.98 kB / 455.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.3903, allocations: 59.84 kB / 455.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.3903, allocations: 8.594 kB / 455.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3904, allocations: 12 kB / 455.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.3904, allocations: 11.94 kB / 455.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3904, allocations: 7.984 kB / 455.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3915, allocations: 1.034 MB / 457 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.3919, allocations: 255.4 kB / 457.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.3921, allocations: 19.88 kB / 457.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.3926, allocations: 43.94 kB / 457.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.3927, allocations: 43.91 kB / 457.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.3927, allocations: 12 kB / 457.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001597/0.3943, allocations: 1.335 MB / 458.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3943, allocations: 0 / 458.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002353/0.3967, allocations: 0.9298 MB / 459.6 MB, free: 8.145 MB / 350.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001553/0.3982, allocations: 1.634 MB / 461.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.4007, allocations: 1.751 MB / 463 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4008, allocations: 0 / 463 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.401, allocations: 225.3 kB / 463.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.4025, allocations: 290.5 kB / 463.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/0.4344, allocations: 21.99 MB / 485.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004149/0.4386, allocations: 2.891 MB / 488.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002045/0.4406, allocations: 0.771 MB / 489.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/0.4424, allocations: 1.218 MB / 490.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4424, allocations: 0 / 490.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5292/0.9716, allocations: 40.25 MB / 0.5182 GB, free: 14.92 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.972, allocations: 228.6 kB / 0.5184 GB, free: 14.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/3.816, allocations: 0 / 0.5184 GB, free: 14.66 MB / 430.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches