Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001579/0.001579, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.17 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08329/0.0845, allocations: 50.52 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01464/0.09917, allocations: 13.94 MB / 371.5 MB, free: 24 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1506/0.2498, allocations: 3.838 MB / 375.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.2511, allocations: 100.8 kB / 375.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009978/0.2612, allocations: 5.555 MB / 381 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.2653, allocations: 1.356 MB / 382.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.2678, allocations: 1.202 MB / 383.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006046/0.2738, allocations: 6.326 MB / 389.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/0.2892, allocations: 13.76 MB / 403.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.2937, allocations: 3.271 MB / 406.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005162/0.2989, allocations: 3.858 MB / 410.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.3001, allocations: 0.8867 MB / 411.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.3023, allocations: 1.096 MB / 412.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.3037, allocations: 1.77 MB / 414.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003728/0.3074, allocations: 3.568 MB / 418.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009528/0.3169, allocations: 11.88 MB / 430 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.317, allocations: 4 kB / 430 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.317, allocations: 0 / 430 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.3171, allocations: 0 / 430 MB, free: 2.695 MB / 334.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.01765/0.3348, allocations: 7.78 MB / 437.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3349, allocations: 16.03 kB / 437.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001577/0.3365, allocations: 1.059 MB / 438.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/0.3559, allocations: 2.91 MB / 441.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00694/0.3629, allocations: 3.617 MB / 445.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.3633, allocations: 487.9 kB / 445.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.3646, allocations: 0.6196 MB / 446.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3795, allocations: 9.334 MB / 455.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.3796, allocations: 11.91 kB / 455.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006151/0.3803, allocations: 265 kB / 456.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/0.3805, allocations: 321.4 kB / 456.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.3931, allocations: 7.962 MB / 464.3 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03748/0.4306, allocations: 29.07 MB / 493.4 MB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.4412, allocations: 11.7 MB / 0.4933 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.4435, allocations: 1.613 MB / 0.4949 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.4438, allocations: 216.1 kB / 0.4951 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.4438, allocations: 56.56 kB / 0.4951 GB, free: 3.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 3.917e-06/0.4438, allocations: 4 kB / 0.4951 GB, free: 3.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007522/0.4514, allocations: 4.168 MB / 0.4992 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4514, allocations: 103.1 kB / 0.4993 GB, free: 14.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.4538, allocations: 1.895 MB / 0.5011 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.4539, allocations: 65.7 kB / 0.5012 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.4553, allocations: 2.555 MB / 0.5037 GB, free: 10.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/0.4559, allocations: 0.8156 MB / 0.5045 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008715/0.4568, allocations: 0.6598 MB / 0.5051 GB, free: 8.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.4569, allocations: 309.1 kB / 0.5054 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.4589, allocations: 1.4 MB / 0.5068 GB, free: 7.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.4616, allocations: 2.603 MB / 0.5093 GB, free: 3.914 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.4664, allocations: 4.23 MB / 0.5135 GB, free: 15.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.4665, allocations: 8 kB / 0.5135 GB, free: 15.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00646/0.4729, allocations: 4.515 MB / 0.5179 GB, free: 10.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.473, allocations: 20 kB / 0.5179 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.473, allocations: 40 kB / 0.5179 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007572/0.4738, allocations: 317.6 kB / 0.5182 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.4764, allocations: 0.776 MB / 0.519 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.4815, allocations: 5.047 MB / 0.5239 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.4834, allocations: 419.9 kB / 0.5243 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.4837, allocations: 164 kB / 0.5245 GB, free: 3.574 MB / 446.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.003034/0.4867, allocations: 2.191 MB / 0.5266 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.4871, allocations: 209.5 kB / 0.5268 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1575/0.6446, allocations: 3.174 MB / 0.5299 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.6447, allocations: 24.72 kB / 0.53 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6447, allocations: 9.125 kB / 0.53 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.6447, allocations: 15.3 kB / 0.53 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.6606, allocations: 12.68 MB / 0.5424 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.6607, allocations: 14.62 kB / 0.5424 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.6624, allocations: 440 kB / 0.5428 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007026/0.6631, allocations: 281.7 kB / 0.5431 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.6632, allocations: 65.25 kB / 0.5431 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/0.6674, allocations: 4.984 MB / 0.548 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.6674, allocations: 23 kB / 0.548 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/0.673, allocations: 4.99 MB / 0.5529 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/0.6738, allocations: 0.5302 MB / 0.5534 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.674, allocations: 59.73 kB / 0.5535 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6753, allocations: 125 kB / 0.5536 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.6755, allocations: 212 kB / 0.5538 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.6757, allocations: 83.25 kB / 0.5539 GB, free: 122.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.6771, allocations: 1.293 MB / 0.5551 GB, free: 121.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6771, allocations: 0 / 0.5551 GB, free: 121.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00333/0.6805, allocations: 1.434 MB / 0.5565 GB, free: 121.5 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.0055/0.686, allocations: 5.666 MB / 0.5621 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005669/0.6917, allocations: 4.161 MB / 0.5661 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.6917, allocations: 3.375 kB / 0.5661 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.6935, allocations: 1.689 MB / 0.5678 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.696, allocations: 0.5173 MB / 0.5683 GB, free: 115.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/0.7263, allocations: 30.58 MB / 0.5981 GB, free: 85.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.729, allocations: 4.018 MB / 0.6021 GB, free: 81.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002721/0.7318, allocations: 1.191 MB / 0.6032 GB, free: 80.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/0.7335, allocations: 1.999 MB / 0.6052 GB, free: 78.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.72e-07/0.7335, allocations: 4 kB / 0.6052 GB, free: 78.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07861/0.8121, allocations: 64.52 MB / 0.6682 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.939/10.75, allocations: 11.95 kB / 0.6682 GB, free: 14.06 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches