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.001124/0.001124, allocations: 114.5 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.001192/0.001192, allocations: 187 kB / 18.66 MB, free: 4.395 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.368/1.368, allocations: 205.1 MB / 224.5 MB, free: 12.26 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.001278/0.001278, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08734, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1918/0.2792, allocations: 14.61 MB / 389.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2895, allocations: 3.93 MB / 393.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.2929, allocations: 92.03 kB / 393.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.3049, allocations: 5.599 MB / 398.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009359/0.3143, allocations: 1.751 MB / 400.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.3184, allocations: 1.076 MB / 401.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.3288, allocations: 6.759 MB / 408.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02339/0.3522, allocations: 13.75 MB / 422.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00777/0.36, allocations: 3.487 MB / 425.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007676/0.3677, allocations: 4.123 MB / 429.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003205/0.371, allocations: 0.9141 MB / 430.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.3754, allocations: 1.105 MB / 431.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003071/0.3785, allocations: 1.929 MB / 433.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006823/0.3853, allocations: 3.793 MB / 437.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.3998, allocations: 12.37 MB / 450 MB, free: 4.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3998, allocations: 0 / 450 MB, free: 4.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3998, allocations: 0 / 450 MB, free: 4.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003873/0.4002, allocations: 4 kB / 450 MB, free: 4.527 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.02349/0.4237, allocations: 8.302 MB / 458.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4238, allocations: 12.03 kB / 458.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003199/0.427, allocations: 1.129 MB / 459.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0319/0.4589, allocations: 5.08 MB / 464.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008881/0.4678, allocations: 3.555 MB / 468 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005817/0.4684, allocations: 0.5059 MB / 468.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002778/0.4712, allocations: 0.6678 MB / 469.2 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02489/0.4961, allocations: 10.5 MB / 479.7 MB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/0.4964, allocations: 11.89 kB / 479.7 MB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/0.4983, allocations: 283.9 kB / 480 MB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004163/0.4987, allocations: 390.6 kB / 480.4 MB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.5184, allocations: 9.649 MB / 490 MB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/0.5786, allocations: 31.52 MB / 0.5093 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/0.5984, allocations: 22.91 MB / 0.5317 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.6017, allocations: 1.937 MB / 0.5336 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.6135, allocations: 6.238 MB / 0.5397 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.6136, allocations: 56 kB / 0.5397 GB, free: 8.586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.597e-06/0.6136, allocations: 0 / 0.5397 GB, free: 8.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006619/0.6202, allocations: 3.173 MB / 0.5428 GB, free: 5.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.6203, allocations: 90.55 kB / 0.5429 GB, free: 5.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/0.6251, allocations: 2.615 MB / 0.5455 GB, free: 2.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.6252, allocations: 53.69 kB / 0.5455 GB, free: 2.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2219/0.8471, allocations: 3.121 MB / 0.5486 GB, free: 145.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008072/0.848, allocations: 0.5517 MB / 0.5491 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.8493, allocations: 0.7985 MB / 0.5499 GB, free: 145.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.8493, allocations: 301.9 kB / 0.5502 GB, free: 145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002706/0.852, allocations: 1.465 MB / 0.5516 GB, free: 145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.855, allocations: 3.259 MB / 0.5548 GB, free: 142.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.8599, allocations: 4.822 MB / 0.5595 GB, free: 138.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.84e-05/0.8599, allocations: 17.28 kB / 0.5595 GB, free: 138.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007353/0.8673, allocations: 5.09 MB / 0.5645 GB, free: 136.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.8674, allocations: 30.19 kB / 0.5645 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-05/0.8674, allocations: 63.17 kB / 0.5646 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/0.8682, allocations: 348.2 kB / 0.5649 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.871, allocations: 0.8794 MB / 0.5658 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.8756, allocations: 5.046 MB / 0.5707 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.8786, allocations: 0.5402 MB / 0.5712 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003403/0.8789, allocations: 215.3 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.003673/0.8826, allocations: 2.33 MB / 0.5737 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.883, allocations: 221.8 kB / 0.5739 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.8866, allocations: 2.33 MB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8867, allocations: 15.84 kB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8867, allocations: 3.969 kB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.8867, allocations: 11.66 kB / 0.5762 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007322/0.894, allocations: 5.349 MB / 0.5814 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.8941, allocations: 2.875 kB / 0.5814 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.8952, allocations: 256.3 kB / 0.5817 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006175/0.8958, allocations: 262.2 kB / 0.5819 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.8959, allocations: 39.27 kB / 0.582 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.8998, allocations: 4.943 MB / 0.5868 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8999, allocations: 0 / 0.5868 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.9036, allocations: 3.301 MB / 0.59 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.9045, allocations: 468.8 kB / 0.5905 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.9048, allocations: 31.62 kB / 0.5905 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.9059, allocations: 97.09 kB / 0.5906 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.906, allocations: 102.3 kB / 0.5907 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.9061, allocations: 43.34 kB / 0.5907 GB, free: 122 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002062/0.9082, allocations: 1.72 MB / 0.5924 GB, free: 121.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9082, allocations: 0 / 0.5924 GB, free: 121.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004755/0.913, allocations: 1.53 MB / 0.5939 GB, free: 120.8 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.004394/0.9174, allocations: 3.93 MB / 0.5977 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00466/0.922, allocations: 3.524 MB / 0.6012 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9221, allocations: 2 kB / 0.6012 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.9234, allocations: 1.263 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.002259/0.9257, allocations: 499.8 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.03607/0.9617, allocations: 30.88 MB / 0.6331 GB, free: 81.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/0.965, allocations: 4.183 MB / 0.6371 GB, free: 77.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002737/0.9677, allocations: 1.283 MB / 0.6384 GB, free: 75.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/0.9697, allocations: 2.124 MB / 0.6405 GB, free: 73.62 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.9697, allocations: 0 / 0.6405 GB, free: 73.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.092, allocations: 68.55 MB / 0.7074 GB, free: 4.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.76, allocations: 8.062 kB / 0.7074 GB, free: 4.902 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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_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.csv","/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