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.001579/0.001579, allocations: 112.6 kB / 17.73 MB, free: 5.191 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.001906/0.001906, allocations: 192.1 kB / 18.66 MB, free: 4.262 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.536/1.536, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.00149/0.001491, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.2243/0.333, allocations: 9.708 MB / 384.4 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006793/0.3399, allocations: 2.748 MB / 387.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.3421, allocations: 60.09 kB / 387.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008042/0.3501, allocations: 3.756 MB / 390.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.3548, allocations: 1.072 MB / 392 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.3572, allocations: 0.804 MB / 392.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006212/0.3634, allocations: 3.911 MB / 396.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.3768, allocations: 9.572 MB / 406.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.3811, allocations: 2.216 MB / 408.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004765/0.3859, allocations: 2.551 MB / 411 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.3874, allocations: 0.604 MB / 411.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.3899, allocations: 0.8159 MB / 412.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.3913, allocations: 1.199 MB / 413.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.3948, allocations: 2.42 MB / 416.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.4052, allocations: 8.141 MB / 424.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4052, allocations: 0 / 424.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4053, allocations: 0 / 424.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002431/0.4055, allocations: 0 / 424.2 MB, free: 14.42 MB / 350.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.02285/0.4284, allocations: 5.155 MB / 429.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.809e-05/0.4285, allocations: 8.031 kB / 429.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002611/0.4311, allocations: 0.6495 MB / 430 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02915/0.4603, allocations: 2.571 MB / 432.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007499/0.4678, allocations: 2.159 MB / 434.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.4682, allocations: 333.1 kB / 435.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/0.4698, allocations: 447.9 kB / 435.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.4828, allocations: 6.107 MB / 441.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.4829, allocations: 7.938 kB / 441.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000499/0.4834, allocations: 184 kB / 441.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/0.4836, allocations: 217.3 kB / 442 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.4945, allocations: 5.787 MB / 447.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/0.527, allocations: 21.14 MB / 469 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008931/0.536, allocations: 8.947 MB / 477.9 MB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.5377, allocations: 0.9688 MB / 478.9 MB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006314/0.544, allocations: 3.557 MB / 482.4 MB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.5441, allocations: 34.73 kB / 482.5 MB, free: 1.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.935e-06/0.5441, allocations: 0 / 482.5 MB, free: 1.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001336/0.5454, allocations: 0.6514 MB / 483.1 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5455, allocations: 55.41 kB / 483.2 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/0.5492, allocations: 1.986 MB / 485.2 MB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.5493, allocations: 29.7 kB / 485.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.551, allocations: 2.177 MB / 487.4 MB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.5512, allocations: 150.5 kB / 487.5 MB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009667/0.5522, allocations: 0.5392 MB / 488.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5524, allocations: 349.9 kB / 488.4 MB, free: 11.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.5538, allocations: 0.8793 MB / 489.3 MB, free: 10.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.556, allocations: 2.243 MB / 491.5 MB, free: 7.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.5593, allocations: 3.067 MB / 494.6 MB, free: 4.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/0.5594, allocations: 12 kB / 494.6 MB, free: 4.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00472/0.5641, allocations: 3.121 MB / 497.7 MB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.5642, allocations: 32.72 kB / 497.7 MB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.259e-05/0.5642, allocations: 48 kB / 497.8 MB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.874e-05/0.5643, allocations: 72.69 kB / 497.9 MB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.5661, allocations: 0.5927 MB / 498.5 MB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.088e-05/0.5662, allocations: 99.64 kB / 498.6 MB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.5682, allocations: 404.2 kB / 499 MB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.5684, allocations: 148 kB / 499.1 MB, free: 15.49 MB / 430.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 (317): * Single equations (assignments): 316 * 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.002325/0.5708, allocations: 1.566 MB / 0.4889 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.571, allocations: 130.2 kB / 0.4891 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000964/0.572, allocations: 0.6133 MB / 0.4896 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004143/0.5724, allocations: 317.5 kB / 0.49 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5724, allocations: 3.984 kB / 0.49 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5725, allocations: 0 / 0.49 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/0.5784, allocations: 3.968 MB / 0.4938 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5784, allocations: 8 kB / 0.4938 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.5787, allocations: 60.48 kB / 0.4939 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/0.5787, allocations: 12 kB / 0.4939 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.5788, allocations: 12 kB / 0.4939 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.5788, allocations: 4 kB / 0.4939 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.5788, allocations: 7.938 kB / 0.4939 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.58, allocations: 0.8928 MB / 0.4948 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.5805, allocations: 251.4 kB / 0.495 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.5807, allocations: 12 kB / 0.4951 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.5812, allocations: 48 kB / 0.4951 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.5813, allocations: 31.84 kB / 0.4951 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.5813, allocations: 12 kB / 0.4951 GB, free: 7.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001863/0.5832, allocations: 1.339 MB / 0.4964 GB, free: 5.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5832, allocations: 0 / 0.4964 GB, free: 5.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002836/0.5861, allocations: 0.9323 MB / 0.4974 GB, free: 4.977 MB / 430.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 (26): * Single equations (assignments): 25 * 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.001595/0.5877, allocations: 1.493 MB / 0.4988 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.5905, allocations: 1.673 MB / 0.5005 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.5905, allocations: 0 / 0.5005 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.5908, allocations: 181.3 kB / 0.5006 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.5923, allocations: 304.3 kB / 0.5009 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/0.6227, allocations: 19.25 MB / 0.5197 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/0.6257, allocations: 2.895 MB / 0.5225 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001801/0.6275, allocations: 0.7709 MB / 0.5233 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.6292, allocations: 1.214 MB / 0.5245 GB, free: 7.324 MB / 462.1 MB Notification: Performance of SimCode: time 1.352e-06/0.6292, allocations: 0 / 0.5245 GB, free: 7.324 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2911/0.9203, allocations: 41.29 MB / 0.5648 GB, free: 149.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.2, allocations: 10.08 kB / 0.5648 GB, free: 149.9 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches