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.001429/0.001429, allocations: 109.5 kB / 17.73 MB, free: 5.363 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.001661/0.001661, allocations: 192 kB / 18.66 MB, free: 4.438 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.386/1.386, 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.001292/0.001292, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 46.63 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.2176/0.3203, allocations: 14.6 MB / 389.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009572/0.33, allocations: 3.946 MB / 393.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.3337, allocations: 89.09 kB / 393.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.3461, allocations: 5.599 MB / 398.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007663/0.3538, allocations: 1.745 MB / 400.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.3574, allocations: 1.078 MB / 401.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.3698, allocations: 6.765 MB / 408.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02335/0.3932, allocations: 13.75 MB / 422.2 MB, free: 356 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008313/0.4016, allocations: 3.491 MB / 425.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008928/0.4106, allocations: 4.123 MB / 429.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004778/0.4155, allocations: 0.9219 MB / 430.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00576/0.4212, allocations: 1.097 MB / 431.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004184/0.4255, allocations: 1.932 MB / 433.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01043/0.4359, allocations: 3.789 MB / 437.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.452, allocations: 12.37 MB / 450 MB, free: 4.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.4521, allocations: 4 kB / 450 MB, free: 4.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4521, allocations: 8 kB / 450 MB, free: 4.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003816/0.4525, allocations: 0 / 450 MB, free: 4.531 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.02477/0.4772, allocations: 8.298 MB / 458.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.4773, allocations: 12.03 kB / 458.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004608/0.4819, allocations: 1.133 MB / 459.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03114/0.5131, allocations: 5.076 MB / 464.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009819/0.523, allocations: 3.551 MB / 468 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005469/0.5236, allocations: 0.5137 MB / 468.5 MB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.5265, allocations: 0.6678 MB / 469.2 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.55, allocations: 10.49 MB / 479.7 MB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.5502, allocations: 15.89 kB / 479.7 MB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007729/0.551, allocations: 295.8 kB / 480 MB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003552/0.5513, allocations: 378.7 kB / 480.4 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.5719, allocations: 9.649 MB / 490 MB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05171/0.6237, allocations: 31.52 MB / 0.5093 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01796/0.6417, allocations: 22.92 MB / 0.5317 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.6448, allocations: 1.941 MB / 0.5336 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.6561, allocations: 6.226 MB / 0.5397 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.6562, allocations: 56 kB / 0.5397 GB, free: 8.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 5.06e-06/0.6562, allocations: 3.984 kB / 0.5397 GB, free: 8.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006267/0.6625, allocations: 3.173 MB / 0.5428 GB, free: 5.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.6625, allocations: 94.55 kB / 0.5429 GB, free: 5.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.6668, allocations: 2.615 MB / 0.5455 GB, free: 2.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.667, allocations: 53.7 kB / 0.5455 GB, free: 2.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.182/0.849, allocations: 3.121 MB / 0.5486 GB, free: 145.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.8496, allocations: 0.5463 MB / 0.5491 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.8508, allocations: 0.7998 MB / 0.5499 GB, free: 145.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.824e-05/0.8509, allocations: 303.5 kB / 0.5502 GB, free: 145.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.8531, allocations: 1.466 MB / 0.5516 GB, free: 145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.856, allocations: 3.26 MB / 0.5548 GB, free: 142.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/0.8607, allocations: 4.823 MB / 0.5595 GB, free: 138.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.285e-05/0.8608, allocations: 17.69 kB / 0.5595 GB, free: 138.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007635/0.8684, allocations: 5.086 MB / 0.5645 GB, free: 136.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.8685, allocations: 31.03 kB / 0.5645 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.661e-05/0.8686, allocations: 60.59 kB / 0.5646 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.8694, allocations: 341.6 kB / 0.5649 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.8721, allocations: 0.8844 MB / 0.5658 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.8765, allocations: 5.053 MB / 0.5707 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.8795, allocations: 0.5421 MB / 0.5712 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003951/0.8799, allocations: 211 kB / 0.5714 GB, free: 132.2 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.003962/0.8839, allocations: 2.33 MB / 0.5737 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.8843, allocations: 225.1 kB / 0.5739 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.8878, allocations: 2.333 MB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8878, allocations: 15.88 kB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.8878, allocations: 7.438 kB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.8879, allocations: 10.91 kB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/0.8954, allocations: 5.338 MB / 0.5814 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.8954, allocations: 1.719 kB / 0.5814 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.8965, allocations: 255.7 kB / 0.5817 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006042/0.8971, allocations: 262.2 kB / 0.5819 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.8972, allocations: 38.67 kB / 0.582 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/0.9009, allocations: 4.932 MB / 0.5868 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.901, allocations: 3.625 kB / 0.5868 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/0.9047, allocations: 3.306 MB / 0.59 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007514/0.9054, allocations: 470.2 kB / 0.5905 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.9057, allocations: 32.12 kB / 0.5905 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009524/0.9067, allocations: 90.58 kB / 0.5906 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.9068, allocations: 109.4 kB / 0.5907 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.9069, allocations: 51.16 kB / 0.5907 GB, free: 122 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00191/0.9088, allocations: 1.715 MB / 0.5924 GB, free: 121.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9088, allocations: 0 / 0.5924 GB, free: 121.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003617/0.9125, allocations: 1.529 MB / 0.5939 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.003895/0.9164, allocations: 3.934 MB / 0.5978 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.9209, allocations: 3.519 MB / 0.6012 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9209, allocations: 4.062 kB / 0.6012 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.9222, allocations: 1.262 MB / 0.6024 GB, free: 114 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.9243, allocations: 493.4 kB / 0.6029 GB, free: 113.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/0.9611, allocations: 30.89 MB / 0.6331 GB, free: 81.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/0.9644, allocations: 4.183 MB / 0.6371 GB, free: 77.08 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002714/0.9671, allocations: 1.283 MB / 0.6384 GB, free: 75.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/0.9691, allocations: 2.12 MB / 0.6405 GB, free: 73.67 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.9691, allocations: 3.938 kB / 0.6405 GB, free: 73.67 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.071, allocations: 68.57 MB / 0.7074 GB, free: 4.949 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.74, allocations: 0 / 0.7074 GB, free: 4.949 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