Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 111.6 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 215.2 kB / 21.42 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 207.6 MB / 231.8 MB, free: 4.203 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 52.3 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1203, allocations: 49.13 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.009079/0.1294, allocations: 5.89 MB / 397.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005198/0.1346, allocations: 2.143 MB / 399.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.1355, allocations: 39.69 kB / 399.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1367, allocations: 417.3 kB / 399.9 MB, free: 216 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.1389, allocations: 0.5632 MB / 400.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.1396, allocations: 227.8 kB / 400.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002956/0.1425, allocations: 2.295 MB / 403 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.1443, allocations: 1.391 MB / 404.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.1468, allocations: 1.063 MB / 405.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.149, allocations: 1.23 MB / 406.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005903/0.1496, allocations: 288 kB / 406.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009167/0.1505, allocations: 375.8 kB / 407.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007461/0.1512, allocations: 0.7206 MB / 408 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1531, allocations: 1.225 MB / 409.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.1586, allocations: 3.784 MB / 413 MB, free: 2.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1586, allocations: 0 / 413 MB, free: 2.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1586, allocations: 3.938 kB / 413 MB, free: 2.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000124/0.1587, allocations: 0 / 413 MB, free: 2.973 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006756/0.1654, allocations: 2.421 MB / 415.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1655, allocations: 12.03 kB / 415.5 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004274/0.1659, allocations: 270.2 kB / 415.7 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.1668, allocations: 263.7 kB / 416 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.1694, allocations: 1.244 MB / 417.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.1696, allocations: 131.5 kB / 417.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003719/0.1699, allocations: 187.9 kB / 417.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/0.1749, allocations: 2.539 MB / 420.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.1749, allocations: 0 / 420.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.1751, allocations: 75.98 kB / 420.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.1752, allocations: 91.58 kB / 420.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/0.1796, allocations: 2.114 MB / 422.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.1945, allocations: 7.393 MB / 429.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.1969, allocations: 1.232 MB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.1981, allocations: 447.9 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.1985, allocations: 121.5 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.1985, allocations: 39 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.256e-06/0.1985, allocations: 0 / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.007155/0.2057, allocations: 2.276 MB / 433.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.2058, allocations: 97.53 kB / 434 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.2095, allocations: 1.516 MB / 435.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.2096, allocations: 33.7 kB / 435.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.2109, allocations: 0.9979 MB / 436.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.2112, allocations: 206.3 kB / 436.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005704/0.2118, allocations: 238.8 kB / 436.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.2121, allocations: 357.9 kB / 437.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.2133, allocations: 462.3 kB / 437.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.2153, allocations: 1.091 MB / 438.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.2184, allocations: 1.619 MB / 440.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.2184, allocations: 4 kB / 440.4 MB, free: 6.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004735/0.2232, allocations: 1.687 MB / 442.1 MB, free: 4.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.2232, allocations: 19.94 kB / 442.2 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/0.2233, allocations: 24 kB / 442.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.2244, allocations: 185.1 kB / 442.4 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.2258, allocations: 283.5 kB / 442.6 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.2296, allocations: 2.365 MB / 445 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2308, allocations: 83.86 kB / 445.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.231, allocations: 64 kB / 445.1 MB, free: 1.402 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.001263/0.2322, allocations: 0.7195 MB / 445.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.2325, allocations: 135.2 kB / 446 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.2342, allocations: 0.8373 MB / 446.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.2342, allocations: 8.062 kB / 446.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.2342, allocations: 8 kB / 446.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2342, allocations: 0 / 446.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/0.2394, allocations: 2.494 MB / 449.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.2394, allocations: 8.031 kB / 449.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.2398, allocations: 91.88 kB / 449.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007264/0.2405, allocations: 152.6 kB / 449.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.2406, allocations: 19.98 kB / 449.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.2432, allocations: 2.299 MB / 451.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.2432, allocations: 7.969 kB / 451.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.2457, allocations: 1.337 MB / 453.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008987/0.2466, allocations: 284.2 kB / 453.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.2468, allocations: 19.98 kB / 453.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.2474, allocations: 44.03 kB / 453.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.2476, allocations: 47.88 kB / 453.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.2476, allocations: 23.94 kB / 453.7 MB, free: 8.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.2493, allocations: 1.036 MB / 454.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2493, allocations: 0 / 454.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001636/0.251, allocations: 347.9 kB / 455 MB, free: 7.16 MB / 382.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.003237/0.2542, allocations: 1.941 MB / 457 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.2568, allocations: 1.13 MB / 458.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.2568, allocations: 4.062 kB / 458.1 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.2577, allocations: 494.2 kB / 458.6 MB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.2597, allocations: 369.2 kB / 459 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2219/0.4816, allocations: 13.91 MB / 472.9 MB, free: 58.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.4833, allocations: 1.708 MB / 474.6 MB, free: 57.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.4844, allocations: 326.6 kB / 474.9 MB, free: 57.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008151/0.4852, allocations: 0.6142 MB / 475.5 MB, free: 56.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4852, allocations: 0 / 475.5 MB, free: 56.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07639/0.5616, allocations: 34 MB / 0.4976 GB, free: 27.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.77, allocations: 11.78 kB / 0.4976 GB, free: 27.81 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.438817330999882]