Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001465/0.001465, allocations: 114.5 kB / 17.78 MB, free: 5.289 MB / 14.72 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.002066/0.002066, allocations: 190.9 kB / 20.73 MB, free: 2.352 MB / 14.72 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 1.446/1.446, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 51.91 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007598/0.1175, allocations: 5.926 MB / 423.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.1216, allocations: 2.072 MB / 425.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005603/0.1221, allocations: 47.69 kB / 425.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1232, allocations: 413.3 kB / 426.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.1246, allocations: 0.5671 MB / 426.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1251, allocations: 227.6 kB / 427 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.1276, allocations: 2.206 MB / 429.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.1296, allocations: 1.588 MB / 430.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.1318, allocations: 1.071 MB / 431.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1335, allocations: 1.238 MB / 433.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.1339, allocations: 288 kB / 433.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.1346, allocations: 379.8 kB / 433.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007248/0.1353, allocations: 0.7245 MB / 434.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.1367, allocations: 1.218 MB / 435.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004109/0.1408, allocations: 3.792 MB / 439.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1408, allocations: 0 / 439.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1408, allocations: 0 / 439.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.678e-05/0.1409, allocations: 4 kB / 439.5 MB, free: 6.746 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005322/0.1462, allocations: 2.433 MB / 441.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.1463, allocations: 12.03 kB / 442 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003777/0.1467, allocations: 270.2 kB / 442.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.1474, allocations: 263.5 kB / 442.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.1497, allocations: 1.357 MB / 443.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1498, allocations: 135.5 kB / 444 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.15, allocations: 172 kB / 444.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2133/0.3633, allocations: 2.544 MB / 446.7 MB, free: 27.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.3634, allocations: 0 / 446.7 MB, free: 27.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.3636, allocations: 74.53 kB / 446.8 MB, free: 27.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.3637, allocations: 96.02 kB / 446.8 MB, free: 27.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.3671, allocations: 2.11 MB / 449 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.378, allocations: 7.378 MB / 456.3 MB, free: 24.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.3795, allocations: 1.227 MB / 457.6 MB, free: 23.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.3803, allocations: 452.1 kB / 458 MB, free: 23.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.3806, allocations: 113.7 kB / 458.1 MB, free: 23.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3806, allocations: 39.62 kB / 458.2 MB, free: 23.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.496e-06/0.3806, allocations: 0 / 458.2 MB, free: 23.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004854/0.3855, allocations: 2.29 MB / 460.4 MB, free: 22.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3855, allocations: 86.14 kB / 460.5 MB, free: 22.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.3883, allocations: 1.51 MB / 462 MB, free: 21.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.3884, allocations: 36.58 kB / 462.1 MB, free: 21.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007586/0.3891, allocations: 1.006 MB / 463.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.3893, allocations: 199.5 kB / 463.3 MB, free: 20.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.3897, allocations: 244.6 kB / 463.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3898, allocations: 359.4 kB / 463.9 MB, free: 20.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.3906, allocations: 460.1 kB / 464.3 MB, free: 20.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3916, allocations: 1.097 MB / 465.4 MB, free: 19.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.3933, allocations: 1.614 MB / 467 MB, free: 17.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-05/0.3933, allocations: 6.906 kB / 467 MB, free: 17.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002954/0.3963, allocations: 1.692 MB / 468.7 MB, free: 17.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.3963, allocations: 15.19 kB / 468.7 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-05/0.3964, allocations: 22.58 kB / 468.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008535/0.3972, allocations: 180.4 kB / 468.9 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/0.3982, allocations: 286.4 kB / 469.2 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.4006, allocations: 2.369 MB / 471.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.402, allocations: 89.91 kB / 471.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4022, allocations: 64.62 kB / 471.7 MB, free: 14.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001253/0.4035, allocations: 0.7098 MB / 472.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003919/0.4038, allocations: 136.4 kB / 472.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4054, allocations: 0.8401 MB / 473.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4054, allocations: 5.781 kB / 473.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4054, allocations: 1.188 kB / 473.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4054, allocations: 1.25 kB / 473.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/0.4102, allocations: 2.49 MB / 475.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4102, allocations: 7.312 kB / 475.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.4106, allocations: 105 kB / 476 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/0.4112, allocations: 148.2 kB / 476.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.4113, allocations: 13.62 kB / 476.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.413, allocations: 2.299 MB / 478.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.413, allocations: 3.344 kB / 478.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.4149, allocations: 1.324 MB / 479.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006256/0.4155, allocations: 294.6 kB / 480.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/0.4158, allocations: 14.53 kB / 480.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.4165, allocations: 47.48 kB / 480.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4167, allocations: 49.34 kB / 480.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.4167, allocations: 22.25 kB / 480.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.4183, allocations: 1.037 MB / 481.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4183, allocations: 0 / 481.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001646/0.4199, allocations: 351.4 kB / 481.6 MB, free: 8.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002118/0.4221, allocations: 1.959 MB / 483.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.4238, allocations: 1.123 MB / 484.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4238, allocations: 0 / 484.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.4245, allocations: 0.499 MB / 485.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.4261, allocations: 374.7 kB / 485.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/0.4459, allocations: 13.91 MB / 499.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.4478, allocations: 1.706 MB / 0.4894 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.4488, allocations: 324.2 kB / 0.4897 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009196/0.4497, allocations: 0.6125 MB / 0.4903 GB, free: 5.293 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4497, allocations: 0 / 0.4903 GB, free: 5.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09603/0.5457, allocations: 33.98 MB / 0.5235 GB, free: 3.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.77, allocations: 6.688 kB / 0.5235 GB, free: 3.695 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.285146237351]