Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",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.001115/0.001115, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001164/0.001164, allocations: 183 kB / 18.66 MB, free: 4.418 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.49/1.49, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001429/0.001429, allocations: 47.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.2367/0.3408, allocations: 10.08 MB / 384.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00614/0.3469, allocations: 2.813 MB / 387.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.3485, allocations: 63.12 kB / 387.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008545/0.357, allocations: 4.209 MB / 391.8 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.3615, allocations: 1.039 MB / 392.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.3638, allocations: 0.8284 MB / 393.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005753/0.3696, allocations: 4.281 MB / 398 MB, free: 468 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0167/0.3863, allocations: 11.01 MB / 409 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005189/0.3916, allocations: 2.456 MB / 411.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005661/0.3972, allocations: 2.788 MB / 414.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.3988, allocations: 0.6797 MB / 414.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.4019, allocations: 0.8943 MB / 415.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.4035, allocations: 1.325 MB / 417.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004617/0.4081, allocations: 2.665 MB / 419.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.4184, allocations: 9.076 MB / 428.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.4184, allocations: 0 / 428.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4184, allocations: 0 / 428.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002277/0.4186, allocations: 0 / 428.9 MB, free: 9.727 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01564/0.4343, allocations: 5.57 MB / 434.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.4344, allocations: 12.03 kB / 434.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001558/0.4359, allocations: 0.691 MB / 435.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.4496, allocations: 2.391 MB / 437.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006621/0.4563, allocations: 2.377 MB / 439.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.4567, allocations: 365.9 kB / 440.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.4585, allocations: 479.7 kB / 440.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.4733, allocations: 6.64 MB / 447.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.4735, allocations: 4 kB / 447.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005998/0.4741, allocations: 200 kB / 447.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002549/0.4744, allocations: 222.1 kB / 447.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4863, allocations: 6.122 MB / 453.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/0.5254, allocations: 22.35 MB / 476.3 MB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.5369, allocations: 10.8 MB / 487 MB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.5383, allocations: 0.8071 MB / 487.9 MB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006506/0.5448, allocations: 3.39 MB / 491.2 MB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5449, allocations: 34.56 kB / 491.3 MB, free: 8.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.206e-06/0.5449, allocations: 0 / 491.3 MB, free: 8.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000852/0.5458, allocations: 236 kB / 491.5 MB, free: 8.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5459, allocations: 55.34 kB / 491.6 MB, free: 8.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/0.5501, allocations: 2.133 MB / 493.7 MB, free: 5.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5501, allocations: 33.69 kB / 493.7 MB, free: 5.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.5519, allocations: 2.382 MB / 496.1 MB, free: 3.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.5521, allocations: 67.75 kB / 496.2 MB, free: 3.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.5532, allocations: 0.5505 MB / 496.7 MB, free: 2.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5534, allocations: 349.9 kB / 497.1 MB, free: 2.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.5548, allocations: 0.8167 MB / 497.9 MB, free: 1.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.5571, allocations: 2.235 MB / 0.4884 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003635/0.5608, allocations: 2.968 MB / 0.4913 GB, free: 11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.632e-05/0.5609, allocations: 16 kB / 0.4913 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005249/0.5661, allocations: 3.016 MB / 0.4943 GB, free: 7.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.5662, allocations: 24 kB / 0.4943 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.888e-05/0.5663, allocations: 52 kB / 0.4943 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.5664, allocations: 68 kB / 0.4944 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.5681, allocations: 0.573 MB / 0.495 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001087/0.5683, allocations: 95.64 kB / 0.495 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.5708, allocations: 404.8 kB / 0.4954 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.5711, allocations: 148 kB / 0.4956 GB, free: 6.609 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.003168/0.5743, allocations: 1.722 MB / 0.4973 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.5746, allocations: 134.2 kB / 0.4974 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.5752, allocations: 247 kB / 0.4976 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/0.5753, allocations: 97.56 kB / 0.4977 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5753, allocations: 0 / 0.4977 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.5753, allocations: 0 / 0.4977 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/0.5822, allocations: 3.056 MB / 0.5007 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5823, allocations: 4 kB / 0.5007 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.5823, allocations: 8 kB / 0.5007 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5824, allocations: 0 / 0.5007 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5824, allocations: 4 kB / 0.5007 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5824, allocations: 4.031 kB / 0.5007 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5824, allocations: 0 / 0.5007 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.5829, allocations: 374.2 kB / 0.5011 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.5834, allocations: 215.5 kB / 0.5013 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.5836, allocations: 4 kB / 0.5013 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.5842, allocations: 27.95 kB / 0.5013 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.5843, allocations: 12.05 kB / 0.5013 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.5843, allocations: 0 / 0.5013 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002328/0.5866, allocations: 1.4 MB / 0.5027 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5866, allocations: 0 / 0.5027 GB, free: 15.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003113/0.5898, allocations: 0.9902 MB / 0.5037 GB, free: 14.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0009314/0.5907, allocations: 0.9576 MB / 0.5046 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.5932, allocations: 1.465 MB / 0.506 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5932, allocations: 0.875 kB / 0.506 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.5933, allocations: 39.92 kB / 0.5061 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.5951, allocations: 331.8 kB / 0.5064 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/0.6282, allocations: 19.16 MB / 0.5251 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004862/0.6331, allocations: 3.132 MB / 0.5281 GB, free: 3.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002072/0.6352, allocations: 0.7905 MB / 0.5289 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/0.6373, allocations: 1.323 MB / 0.5302 GB, free: 1.281 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6373, allocations: 0 / 0.5302 GB, free: 1.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/0.939, allocations: 43.15 MB / 0.5723 GB, free: 150.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.1, allocations: 4.594 kB / 0.5724 GB, free: 150.6 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches