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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8902/0.8902, allocations: 173.3 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.755e-05, allocations: 2.281 kB / 318.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009858/0.009876, allocations: 11.99 MB / 330.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006303/0.01618, allocations: 3.644 MB / 334.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.01802, allocations: 115.4 kB / 334.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.02352, allocations: 5.488 MB / 339.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.02782, allocations: 1.572 MB / 341.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.03002, allocations: 1.059 MB / 342.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006298/0.03632, allocations: 6.597 MB / 348.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.0479, allocations: 9.069 MB / 358 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007242/0.05514, allocations: 4.946 MB / 362.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/0.06026, allocations: 3.341 MB / 366.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.06226, allocations: 0.8828 MB / 367.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.06491, allocations: 1.066 MB / 368.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.06649, allocations: 1.811 MB / 370 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003641/0.07014, allocations: 2.39 MB / 372.4 MB, free: 104 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.07942, allocations: 12.1 MB / 384.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.07942, allocations: 0 / 384.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.07942, allocations: 4 kB / 384.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000317/0.07974, allocations: 0 / 384.5 MB, free: 3.961 MB / 346.7 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.01541/0.09516, allocations: 7.775 MB / 392.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.09521, allocations: 12.92 kB / 392.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002546/0.09776, allocations: 1.05 MB / 393.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009587/0.1073, allocations: 2.924 MB / 396.3 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006963/0.1143, allocations: 3.732 MB / 400 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.1147, allocations: 485.1 kB / 400.5 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002926/0.1176, allocations: 0.6249 MB / 401.1 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.137, allocations: 9.493 MB / 410.6 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.1372, allocations: 11.95 kB / 410.6 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.1384, allocations: 264 kB / 410.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.1386, allocations: 313.5 kB / 411.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.1519, allocations: 7.931 MB / 419.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03716/0.189, allocations: 25.2 MB / 444.3 MB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004778/0.1938, allocations: 3.904 MB / 448.2 MB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.1954, allocations: 1.455 MB / 449.7 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.1955, allocations: 49.97 kB / 449.7 MB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.1955, allocations: 56.56 kB / 449.8 MB, free: 1.852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 3.837e-06/0.1955, allocations: 12.31 kB / 449.8 MB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.1748/0.3703, allocations: 4 MB / 453.8 MB, free: 113.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3704, allocations: 106.6 kB / 453.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.3723, allocations: 1.976 MB / 455.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.3725, allocations: 65.14 kB / 455.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008805/0.3733, allocations: 2.634 MB / 458.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.3737, allocations: 0.8431 MB / 459.4 MB, free: 110.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/0.3743, allocations: 0.6603 MB / 460.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.3743, allocations: 301.1 kB / 460.4 MB, free: 110.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3755, allocations: 1.401 MB / 461.8 MB, free: 109.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.3769, allocations: 2.601 MB / 464.4 MB, free: 107.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.3797, allocations: 4.233 MB / 468.6 MB, free: 104.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/0.3797, allocations: 14.97 kB / 468.6 MB, free: 104.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004106/0.3838, allocations: 4.513 MB / 473.1 MB, free: 102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.3838, allocations: 22.66 kB / 473.1 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.3839, allocations: 40 kB / 473.2 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.3843, allocations: 316.3 kB / 473.5 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.3856, allocations: 0.7733 MB / 474.3 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.3887, allocations: 4.778 MB / 479 MB, free: 96.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.3903, allocations: 422.3 kB / 479.5 MB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.3904, allocations: 159.5 kB / 479.6 MB, free: 95.81 MB / 410.7 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.002489/0.3929, allocations: 2.195 MB / 481.8 MB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.3932, allocations: 218.5 kB / 482 MB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002903/0.3961, allocations: 3.169 MB / 485.2 MB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3961, allocations: 28 kB / 485.2 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3961, allocations: 4 kB / 485.2 MB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3961, allocations: 15.95 kB / 485.2 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.4061, allocations: 10.66 MB / 495.9 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.4061, allocations: 16 kB / 495.9 MB, free: 79.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.407, allocations: 439.2 kB / 496.3 MB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.4074, allocations: 272.7 kB / 496.6 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/0.4075, allocations: 67.98 kB / 496.7 MB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.4103, allocations: 4.725 MB / 0.4896 GB, free: 74.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4103, allocations: 23.88 kB / 0.4897 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004049/0.4144, allocations: 4.975 MB / 0.4945 GB, free: 68.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.4152, allocations: 477.8 kB / 0.495 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4154, allocations: 63.98 kB / 0.495 GB, free: 68.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.4161, allocations: 123.9 kB / 0.4952 GB, free: 68.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.4163, allocations: 217.3 kB / 0.4954 GB, free: 68.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.4164, allocations: 83.98 kB / 0.4954 GB, free: 67.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.4175, allocations: 1.291 MB / 0.4967 GB, free: 66.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4175, allocations: 0 / 0.4967 GB, free: 66.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002724/0.4202, allocations: 1.459 MB / 0.4981 GB, free: 65.24 MB / 410.7 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.004095/0.4243, allocations: 5.631 MB / 0.5036 GB, free: 59.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003605/0.4279, allocations: 3.498 MB / 0.507 GB, free: 55.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.4279, allocations: 4 kB / 0.5071 GB, free: 55.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.4293, allocations: 1.58 MB / 0.5086 GB, free: 54.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.4311, allocations: 0.5181 MB / 0.5091 GB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/0.4605, allocations: 29.01 MB / 0.5374 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/0.4627, allocations: 3.498 MB / 0.5408 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00178/0.4645, allocations: 1.199 MB / 0.542 GB, free: 18.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.4659, allocations: 1.996 MB / 0.544 GB, free: 16.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4659, allocations: 0 / 0.544 GB, free: 16.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2347/0.7005, allocations: 68.1 MB / 0.6105 GB, free: 131.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.274, allocations: 10.16 kB / 0.6105 GB, free: 131.2 MB / 458.7 MB " [Timeout remaining time 651] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor1_3.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.0789017342031]