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.001165/0.001165, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001185/0.001185, allocations: 195 kB / 18 MB, free: 5.074 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.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 51.91 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 49.44 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01367/0.309, allocations: 13.92 MB / 414.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008094/0.3172, allocations: 3.777 MB / 418 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.3202, allocations: 99.75 kB / 418.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.3323, allocations: 5.576 MB / 423.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.3379, allocations: 1.511 MB / 425.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.3411, allocations: 1.076 MB / 426.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008136/0.3493, allocations: 6.288 MB / 432.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02009/0.3694, allocations: 13.65 MB / 446.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.3744, allocations: 3.296 MB / 449.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006271/0.3807, allocations: 3.843 MB / 453.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002482/0.3832, allocations: 0.8867 MB / 454.2 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.3872, allocations: 1.078 MB / 455.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002842/0.3901, allocations: 1.761 MB / 457 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006469/0.3966, allocations: 3.575 MB / 460.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.4112, allocations: 11.97 MB / 472.6 MB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4112, allocations: 4 kB / 472.6 MB, free: 196 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4112, allocations: 0 / 472.6 MB, free: 196 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003466/0.4116, allocations: 0 / 472.6 MB, free: 196 kB / 382.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.02259/0.4342, allocations: 7.905 MB / 480.5 MB, free: 8.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4342, allocations: 12.03 kB / 480.5 MB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003271/0.4375, allocations: 1.05 MB / 481.5 MB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/0.4563, allocations: 2.92 MB / 484.5 MB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008235/0.4646, allocations: 3.745 MB / 488.2 MB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/0.465, allocations: 485.1 kB / 488.7 MB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/0.4669, allocations: 0.6327 MB / 489.3 MB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.4839, allocations: 9.335 MB / 498.6 MB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.4841, allocations: 11.89 kB / 498.7 MB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006624/0.4848, allocations: 268 kB / 498.9 MB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/0.4851, allocations: 313.5 kB / 499.2 MB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.4989, allocations: 7.966 MB / 0.4953 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/0.5461, allocations: 28.32 MB / 0.523 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.5573, allocations: 11.7 MB / 0.5344 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/0.56, allocations: 1.626 MB / 0.536 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.5603, allocations: 135 kB / 0.5361 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.5604, allocations: 64.55 kB / 0.5362 GB, free: 0.918 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 3.837e-06/0.5604, allocations: 0 / 0.5362 GB, free: 0.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2201/0.7804, allocations: 4.167 MB / 0.5402 GB, free: 124.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.7805, allocations: 98.89 kB / 0.5403 GB, free: 124.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.7828, allocations: 1.905 MB / 0.5422 GB, free: 123.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.7829, allocations: 61.64 kB / 0.5422 GB, free: 123.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.784, allocations: 2.644 MB / 0.5448 GB, free: 122.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/0.7845, allocations: 0.8495 MB / 0.5457 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000771/0.7853, allocations: 0.672 MB / 0.5463 GB, free: 121.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.7853, allocations: 301.1 kB / 0.5466 GB, free: 121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.7869, allocations: 1.404 MB / 0.548 GB, free: 120.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.789, allocations: 2.598 MB / 0.5505 GB, free: 118.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.7927, allocations: 4.23 MB / 0.5546 GB, free: 115.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/0.7927, allocations: 15.62 kB / 0.5547 GB, free: 115.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005462/0.7982, allocations: 4.525 MB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.7982, allocations: 20.19 kB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/0.7983, allocations: 39.06 kB / 0.5591 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.799, allocations: 314.9 kB / 0.5594 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.8013, allocations: 0.7823 MB / 0.5602 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.8054, allocations: 5.044 MB / 0.5651 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.8075, allocations: 423.7 kB / 0.5655 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.8077, allocations: 155.8 kB / 0.5657 GB, free: 108.8 MB / 462.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.002688/0.8104, allocations: 2.193 MB / 0.5678 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.8108, allocations: 222.5 kB / 0.568 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.8149, allocations: 3.179 MB / 0.5711 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8149, allocations: 27.39 kB / 0.5712 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8149, allocations: 7.984 kB / 0.5712 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.8149, allocations: 15.83 kB / 0.5712 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.828, allocations: 11.76 MB / 0.5827 GB, free: 91.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.8281, allocations: 16 kB / 0.5827 GB, free: 91.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.8296, allocations: 443.3 kB / 0.5831 GB, free: 91.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000562/0.8302, allocations: 273.6 kB / 0.5834 GB, free: 91.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.8303, allocations: 70.06 kB / 0.5834 GB, free: 90.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.834, allocations: 4.989 MB / 0.5883 GB, free: 85.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.834, allocations: 23.88 kB / 0.5883 GB, free: 85.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/0.8392, allocations: 5.007 MB / 0.5932 GB, free: 80.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/0.8401, allocations: 0.538 MB / 0.5937 GB, free: 79.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.8404, allocations: 59.95 kB / 0.5938 GB, free: 79.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.8415, allocations: 123.9 kB / 0.5939 GB, free: 79.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.8418, allocations: 211.1 kB / 0.5941 GB, free: 79.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8419, allocations: 83.98 kB / 0.5942 GB, free: 79.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.8433, allocations: 1.294 MB / 0.5955 GB, free: 78.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8433, allocations: 0 / 0.5955 GB, free: 78.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003234/0.8465, allocations: 1.456 MB / 0.5969 GB, free: 76.7 MB / 462.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.005264/0.8518, allocations: 5.67 MB / 0.6024 GB, free: 70.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.8562, allocations: 3.663 MB / 0.606 GB, free: 67.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.8563, allocations: 384 / 0.606 GB, free: 67.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.858, allocations: 1.696 MB / 0.6077 GB, free: 65.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.8606, allocations: 0.509 MB / 0.6082 GB, free: 64.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/0.8937, allocations: 29.02 MB / 0.6365 GB, free: 34.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/0.8967, allocations: 4.004 MB / 0.6404 GB, free: 30.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002502/0.8992, allocations: 1.195 MB / 0.6416 GB, free: 28.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/0.9011, allocations: 1.999 MB / 0.6435 GB, free: 26.83 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.9011, allocations: 0 / 0.6435 GB, free: 26.83 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.002, allocations: 66.22 MB / 0.7082 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.49, allocations: 12.48 kB / 0.7082 GB, free: 8.91 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches