Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.0007957/0.0007957, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0008481/0.0008481, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 4 kB / 301.5 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 50.41 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01449/0.1227, allocations: 12.94 MB / 364.9 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.1319, allocations: 3.723 MB / 368.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.135, allocations: 95.75 kB / 368.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.1378, allocations: 0.7893 MB / 369.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.1441, allocations: 1.345 MB / 370.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2359/0.38, allocations: 0.9688 MB / 371.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009654/0.3896, allocations: 6.098 MB / 377.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02978/0.4195, allocations: 14.15 MB / 392 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/0.425, allocations: 2.334 MB / 394.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006393/0.4314, allocations: 2.929 MB / 397.3 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.4335, allocations: 379.2 kB / 397.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.4368, allocations: 0.5586 MB / 398.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.438, allocations: 1.11 MB / 399.3 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004019/0.4421, allocations: 2.857 MB / 402.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4528, allocations: 11.22 MB / 413.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4529, allocations: 0 / 413.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4529, allocations: 0 / 413.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003034/0.4532, allocations: 4 kB / 413.4 MB, free: 3.664 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01767/0.4709, allocations: 6.504 MB / 419.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.4709, allocations: 8.031 kB / 419.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003165/0.4741, allocations: 1.052 MB / 421 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01891/0.493, allocations: 2.904 MB / 423.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007332/0.5004, allocations: 3.63 MB / 427.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.5008, allocations: 486.1 kB / 428 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.5023, allocations: 0.6255 MB / 428.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.5198, allocations: 9.338 MB / 438 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.5199, allocations: 11.89 kB / 438 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/0.5205, allocations: 261.6 kB / 438.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002902/0.5208, allocations: 333.4 kB / 438.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.5336, allocations: 7.962 MB / 446.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03786/0.5715, allocations: 28.69 MB / 475.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.5822, allocations: 11.69 MB / 486.9 MB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.5846, allocations: 1.618 MB / 488.5 MB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.5848, allocations: 134.1 kB / 488.6 MB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.5848, allocations: 60.56 kB / 488.7 MB, free: 5.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 4.488e-06/0.5849, allocations: 3.938 kB / 488.7 MB, free: 5.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.007531/0.5924, allocations: 4.183 MB / 492.9 MB, free: 1.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.5925, allocations: 103.1 kB / 493 MB, free: 1.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.5952, allocations: 1.899 MB / 494.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.5954, allocations: 69.7 kB / 495 MB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.5969, allocations: 2.551 MB / 497.5 MB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006675/0.5976, allocations: 0.8053 MB / 498.3 MB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.598, allocations: 281 kB / 498.6 MB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.5981, allocations: 301.1 kB / 498.9 MB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.6001, allocations: 1.404 MB / 0.4886 GB, free: 10.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.6028, allocations: 2.591 MB / 0.4911 GB, free: 7.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00489/0.6077, allocations: 4.234 MB / 0.4952 GB, free: 2.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.6078, allocations: 12 kB / 0.4952 GB, free: 2.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006686/0.6145, allocations: 4.515 MB / 0.4996 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.6145, allocations: 24 kB / 0.4997 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/0.6146, allocations: 36 kB / 0.4997 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/0.6154, allocations: 313.6 kB / 0.5 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.618, allocations: 0.78 MB / 0.5008 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005082/0.6231, allocations: 4.63 MB / 0.5053 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.6252, allocations: 416 kB / 0.5057 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.6254, allocations: 160 kB / 0.5058 GB, free: 7.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.00359/0.629, allocations: 2.187 MB / 0.508 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.6294, allocations: 213.3 kB / 0.5082 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.6344, allocations: 3.182 MB / 0.5113 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.6344, allocations: 24 kB / 0.5113 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.6344, allocations: 8 kB / 0.5113 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.6345, allocations: 11.95 kB / 0.5113 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/0.6529, allocations: 11.8 MB / 0.5228 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.653, allocations: 12 kB / 0.5229 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.6547, allocations: 447.2 kB / 0.5233 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.6554, allocations: 273.9 kB / 0.5235 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.6555, allocations: 63.98 kB / 0.5236 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2058/0.8613, allocations: 4.565 MB / 0.5281 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-05/0.8614, allocations: 21.28 kB / 0.5281 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008589/0.87, allocations: 4.996 MB / 0.533 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.8713, allocations: 0.5382 MB / 0.5335 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.8715, allocations: 63.44 kB / 0.5336 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.8728, allocations: 130.4 kB / 0.5337 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/0.8732, allocations: 200.5 kB / 0.5339 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.8734, allocations: 88 kB / 0.534 GB, free: 136.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00244/0.8758, allocations: 1.293 MB / 0.5352 GB, free: 135.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8758, allocations: 0 / 0.5352 GB, free: 135.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004561/0.8804, allocations: 1.434 MB / 0.5366 GB, free: 135.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.007343/0.8877, allocations: 5.654 MB / 0.5421 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006002/0.8938, allocations: 3.628 MB / 0.5457 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.8938, allocations: 3.219 kB / 0.5457 GB, free: 130.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.8961, allocations: 1.697 MB / 0.5473 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005552/0.9017, allocations: 0.4968 MB / 0.5478 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04127/0.943, allocations: 33.17 MB / 0.5802 GB, free: 106.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/0.9464, allocations: 4.013 MB / 0.5841 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002965/0.9494, allocations: 1.194 MB / 0.5853 GB, free: 102.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/0.9512, allocations: 1.994 MB / 0.5873 GB, free: 100.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/0.9512, allocations: 0 / 0.5873 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07965/1.031, allocations: 62.4 MB / 0.6482 GB, free: 38.53 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.031, allocations: 247.6 kB / 0.6484 GB, free: 38.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.475, allocations: 3.938 kB / 0.6484 GB, free: 38.27 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches