Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",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.001356/0.001356, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.00143/0.00143, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.448/1.448, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001675/0.001675, allocations: 55.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09987, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.2062/0.3061, allocations: 14.61 MB / 389.3 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009208/0.3154, allocations: 3.94 MB / 393.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.3187, allocations: 83.22 kB / 393.3 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.3308, allocations: 5.605 MB / 398.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007732/0.3386, allocations: 1.744 MB / 400.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.3426, allocations: 1.091 MB / 401.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.3537, allocations: 6.747 MB / 408.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02337/0.3771, allocations: 13.74 MB / 422.2 MB, free: 336 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.3837, allocations: 3.491 MB / 425.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00799/0.3918, allocations: 4.123 MB / 429.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002708/0.3945, allocations: 0.9218 MB / 430.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.3985, allocations: 1.097 MB / 431.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002945/0.4015, allocations: 1.925 MB / 433.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007512/0.409, allocations: 3.797 MB / 437.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.4264, allocations: 12.41 MB / 450 MB, free: 4.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4265, allocations: 0 / 450 MB, free: 4.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4265, allocations: 0 / 450 MB, free: 4.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003691/0.4269, allocations: 4 kB / 450 MB, free: 4.477 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02524/0.4521, allocations: 8.441 MB / 458.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4522, allocations: 12.03 kB / 458.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003736/0.4559, allocations: 1.149 MB / 459.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03226/0.4882, allocations: 5.095 MB / 464.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/0.4965, allocations: 3.556 MB / 468.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006269/0.4972, allocations: 0.5059 MB / 468.7 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.4997, allocations: 0.6796 MB / 469.4 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02814/0.5279, allocations: 10.49 MB / 479.9 MB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004516/0.5284, allocations: 7.953 kB / 479.9 MB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002351/0.5308, allocations: 291.8 kB / 480.2 MB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004784/0.5313, allocations: 382.6 kB / 480.6 MB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.5523, allocations: 9.649 MB / 490.2 MB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06049/0.6129, allocations: 31.61 MB / 0.5096 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/0.6357, allocations: 22.93 MB / 0.532 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/0.6394, allocations: 1.941 MB / 0.5339 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.6512, allocations: 6.239 MB / 0.54 GB, free: 8.309 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.6513, allocations: 51.98 kB / 0.54 GB, free: 8.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.858e-06/0.6513, allocations: 0 / 0.54 GB, free: 8.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.007543/0.6588, allocations: 3.186 MB / 0.5432 GB, free: 5.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.6589, allocations: 102.5 kB / 0.5433 GB, free: 4.891 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005228/0.6642, allocations: 2.616 MB / 0.5458 GB, free: 2.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.6644, allocations: 49.7 kB / 0.5459 GB, free: 2.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.19/0.8544, allocations: 3.243 MB / 0.549 GB, free: 145.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008175/0.8553, allocations: 0.5745 MB / 0.5496 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.8568, allocations: 0.8067 MB / 0.5504 GB, free: 145.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.8569, allocations: 303.4 kB / 0.5507 GB, free: 144.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/0.8595, allocations: 1.467 MB / 0.5521 GB, free: 144.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/0.8628, allocations: 3.264 MB / 0.5553 GB, free: 142.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00586/0.8687, allocations: 4.814 MB / 0.56 GB, free: 138.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.444e-05/0.8688, allocations: 22.03 kB / 0.56 GB, free: 138.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009333/0.8782, allocations: 5.093 MB / 0.565 GB, free: 136.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.8783, allocations: 30.41 kB / 0.565 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.8784, allocations: 66.78 kB / 0.5651 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008753/0.8793, allocations: 343.8 kB / 0.5654 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.8824, allocations: 0.8811 MB / 0.5663 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.8877, allocations: 5.067 MB / 0.5712 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/0.8915, allocations: 0.5522 MB / 0.5717 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006058/0.8921, allocations: 207.6 kB / 0.5719 GB, free: 132 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004805/0.8969, allocations: 2.332 MB / 0.5742 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005747/0.8975, allocations: 237.4 kB / 0.5744 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.9014, allocations: 2.331 MB / 0.5767 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.9015, allocations: 15.72 kB / 0.5767 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9015, allocations: 3.969 kB / 0.5767 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.9015, allocations: 7.641 kB / 0.5767 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008238/0.9098, allocations: 5.342 MB / 0.582 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.9098, allocations: 1.656 kB / 0.582 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.9111, allocations: 260.1 kB / 0.5822 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006728/0.9117, allocations: 268.7 kB / 0.5825 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.9119, allocations: 34.83 kB / 0.5825 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.9158, allocations: 4.96 MB / 0.5873 GB, free: 123.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.9158, allocations: 0 / 0.5873 GB, free: 123.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/0.92, allocations: 3.307 MB / 0.5906 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.9211, allocations: 489.5 kB / 0.591 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.9214, allocations: 29.03 kB / 0.5911 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.9225, allocations: 93.86 kB / 0.5912 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.9227, allocations: 101.9 kB / 0.5913 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.9228, allocations: 43.34 kB / 0.5913 GB, free: 121.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00225/0.9251, allocations: 1.721 MB / 0.593 GB, free: 121.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9251, allocations: 0 / 0.593 GB, free: 121.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004835/0.9299, allocations: 1.545 MB / 0.5945 GB, free: 120.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004315/0.9343, allocations: 3.947 MB / 0.5983 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00524/0.9395, allocations: 3.52 MB / 0.6018 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.9396, allocations: 0 / 0.6018 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.9411, allocations: 1.266 MB / 0.603 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.9437, allocations: 0.4888 MB / 0.6035 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/0.9856, allocations: 31.07 MB / 0.6338 GB, free: 81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003378/0.989, allocations: 4.187 MB / 0.6379 GB, free: 76.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002757/0.9918, allocations: 1.283 MB / 0.6392 GB, free: 75.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/0.9939, allocations: 2.12 MB / 0.6412 GB, free: 73.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.843e-06/0.9939, allocations: 4 kB / 0.6413 GB, free: 73.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/1.102, allocations: 68.56 MB / 0.7082 GB, free: 4.664 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.54, allocations: 8.062 kB / 0.7082 GB, free: 4.656 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches