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.0008648/0.0008648, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003567/0.003567, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8204/0.8204, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.44e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.1243/0.1243, allocations: 5.244 MB / 303.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1268, allocations: 2.028 MB / 305.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.1271, allocations: 46.81 kB / 305.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.1278, allocations: 403.9 kB / 306.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008108/0.1286, allocations: 0.5938 MB / 306.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1289, allocations: 227.3 kB / 307 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.1301, allocations: 2.367 MB / 309.3 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008193/0.1309, allocations: 1.035 MB / 310.4 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.1323, allocations: 1.562 MB / 311.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009148/0.1332, allocations: 1.076 MB / 313 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.1334, allocations: 287.6 kB / 313.3 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.1338, allocations: 376.5 kB / 313.7 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.1342, allocations: 0.7286 MB / 314.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.1348, allocations: 0.8525 MB / 315.2 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.1369, allocations: 3.843 MB / 319.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1369, allocations: 0 / 319.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1369, allocations: 1.094 kB / 319.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.1369, allocations: 3.938 kB / 319.1 MB, free: 5.668 MB / 282.7 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.002324/0.1392, allocations: 2.33 MB / 321.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1393, allocations: 12.86 kB / 321.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.1395, allocations: 271.7 kB / 321.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.1399, allocations: 263.9 kB / 322 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.141, allocations: 1.187 MB / 323.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.1411, allocations: 131.9 kB / 323.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.1413, allocations: 179.4 kB / 323.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.1439, allocations: 2.751 MB / 326.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.1439, allocations: 0 / 326.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.144, allocations: 75.2 kB / 326.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-05/0.1441, allocations: 94.89 kB / 326.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.1462, allocations: 2.103 MB / 328.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006464/0.1526, allocations: 6.645 MB / 335.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.1536, allocations: 0.6999 MB / 335.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.154, allocations: 450.7 kB / 336.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.1541, allocations: 40.53 kB / 336.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1542, allocations: 43.06 kB / 336.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.813e-06/0.1542, allocations: 0 / 336.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002287/0.1564, allocations: 2.135 MB / 338.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1565, allocations: 89.61 kB / 338.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.158, allocations: 1.547 MB / 340.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.158, allocations: 37.7 kB / 340.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.1584, allocations: 0.9977 MB / 341.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/0.1585, allocations: 198.4 kB / 341.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.1587, allocations: 242.7 kB / 341.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.1588, allocations: 357.9 kB / 341.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.1593, allocations: 466.3 kB / 342.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.16, allocations: 1.123 MB / 343.5 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1611, allocations: 1.616 MB / 345.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1611, allocations: 8 kB / 345.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00186/0.163, allocations: 1.693 MB / 346.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.163, allocations: 12 kB / 346.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.163, allocations: 24.11 kB / 346.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.1634, allocations: 180.7 kB / 347 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.1639, allocations: 283.5 kB / 347.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.1653, allocations: 2.234 MB / 349.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.1658, allocations: 87.81 kB / 349.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.1659, allocations: 64 kB / 349.7 MB, free: 10.27 MB / 314.7 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.0006216/0.1665, allocations: 0.704 MB / 350.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1666, allocations: 139.1 kB / 350.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/0.1675, allocations: 0.8426 MB / 351.4 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1675, allocations: 7.984 kB / 351.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1675, allocations: 4 kB / 351.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1675, allocations: 3.984 kB / 351.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.1698, allocations: 2.324 MB / 353.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1698, allocations: 8.031 kB / 353.7 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.17, allocations: 107.8 kB / 353.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/0.1703, allocations: 144.7 kB / 354 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.1703, allocations: 19.98 kB / 354 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.1716, allocations: 2.176 MB / 356.2 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1716, allocations: 4 kB / 356.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1728, allocations: 1.312 MB / 357.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.173, allocations: 215.1 kB / 357.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.1731, allocations: 19.92 kB / 357.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.1734, allocations: 43.97 kB / 357.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.1735, allocations: 55.91 kB / 357.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.1735, allocations: 20 kB / 357.8 MB, free: 1.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008624/0.1744, allocations: 1.036 MB / 358.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1744, allocations: 0 / 358.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007915/0.1752, allocations: 351.9 kB / 359.2 MB, free: 484 kB / 314.7 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.0017/0.1769, allocations: 1.946 MB / 361.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.1779, allocations: 1.135 MB / 362.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1779, allocations: 3.953 kB / 362.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.1783, allocations: 0.4903 MB / 362.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/0.1792, allocations: 370.7 kB / 363.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.1932, allocations: 13.95 MB / 377.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.194, allocations: 1.127 MB / 378.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000545/0.1945, allocations: 323.3 kB / 378.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.195, allocations: 0.6174 MB / 379.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.195, allocations: 0 / 379.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.239, allocations: 36.16 MB / 415.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.391, allocations: 7.875 kB / 415.3 MB, free: 7.223 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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: 9.975918088108301]