Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.001507/0.001507, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001284/0.001284, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.385/1.385, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 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.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.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001696/0.001696, allocations: 47.92 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09294, allocations: 49.12 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005137/0.09808, allocations: 3.746 MB / 395.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1001, allocations: 1.083 MB / 396.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1003, allocations: 15.94 kB / 396.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1006, allocations: 154.8 kB / 396.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.1014, allocations: 294.4 kB / 396.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1017, allocations: 147.8 kB / 396.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1031, allocations: 1.451 MB / 398.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1041, allocations: 0.8528 MB / 399.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006984/0.1048, allocations: 0.6386 MB / 399.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1059, allocations: 0.7862 MB / 400.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.1061, allocations: 160 kB / 400.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1063, allocations: 156 kB / 400.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.1068, allocations: 474.7 kB / 401.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007465/0.1075, allocations: 0.7427 MB / 402 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1095, allocations: 2.067 MB / 404.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1095, allocations: 0 / 404.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1095, allocations: 0 / 404.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.1095, allocations: 4 kB / 404.1 MB, free: 11.92 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002943/0.1124, allocations: 1.71 MB / 405.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1125, allocations: 12.03 kB / 405.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.1127, allocations: 177.3 kB / 406 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.1129, allocations: 148 kB / 406.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.1144, allocations: 0.8389 MB / 407 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.1145, allocations: 90.19 kB / 407.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.1147, allocations: 108 kB / 407.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.1171, allocations: 1.564 MB / 408.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.1171, allocations: 3.938 kB / 408.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.1172, allocations: 51.98 kB / 408.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.1173, allocations: 28 kB / 408.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.1194, allocations: 1.32 MB / 410.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00714/0.1266, allocations: 4.277 MB / 414.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.1279, allocations: 1.319 MB / 415.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/0.1287, allocations: 494.8 kB / 416.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.1288, allocations: 4.438 kB / 416.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1288, allocations: 46.98 kB / 416.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.1288, allocations: 0 / 416.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001487/0.1303, allocations: 0.8772 MB / 417.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1303, allocations: 55.84 kB / 417.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1314, allocations: 0.832 MB / 418 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.1315, allocations: 37.7 kB / 418.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.1319, allocations: 0.5507 MB / 418.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.1321, allocations: 186.4 kB / 418.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.1322, allocations: 102.2 kB / 418.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1324, allocations: 390.8 kB / 419.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.1329, allocations: 300.9 kB / 419.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.1334, allocations: 394.5 kB / 420 MB, free: 11.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.1345, allocations: 0.6902 MB / 420.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1345, allocations: 0 / 420.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001294/0.1358, allocations: 0.8262 MB / 421.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1358, allocations: 8 kB / 421.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1358, allocations: 0 / 421.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1358, allocations: 8 kB / 421.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.1364, allocations: 148.1 kB / 421.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.1364, allocations: 11.94 kB / 421.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.1368, allocations: 67.59 kB / 421.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1368, allocations: 20 kB / 421.7 MB, free: 9.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000609/0.1374, allocations: 461.4 kB / 422.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1375, allocations: 75.53 kB / 422.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.1377, allocations: 91.08 kB / 422.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1377, allocations: 4 kB / 422.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.1377, allocations: 3.938 kB / 422.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.1377, allocations: 7.984 kB / 422.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.1408, allocations: 1.946 MB / 424.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1408, allocations: 4 kB / 424.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.1413, allocations: 111.9 kB / 424.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.1414, allocations: 7.984 kB / 424.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.1414, allocations: 11.94 kB / 424.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1414, allocations: 4 kB / 424.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1414, allocations: 3.938 kB / 424.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.143, allocations: 1.134 MB / 425.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1432, allocations: 180.5 kB / 425.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/0.1433, allocations: 8 kB / 425.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.1437, allocations: 51.94 kB / 425.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1438, allocations: 40.27 kB / 425.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.1439, allocations: 20 kB / 425.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007644/0.1446, allocations: 0.5966 MB / 426.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1446, allocations: 0 / 426.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007074/0.1453, allocations: 283.1 kB / 426.7 MB, free: 4.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.1472, allocations: 1.674 MB / 428.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1483, allocations: 0.6341 MB / 429.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1483, allocations: 0 / 429.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.1488, allocations: 314.2 kB / 429.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.1496, allocations: 191.4 kB / 429.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.1622, allocations: 8.519 MB / 438.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.1633, allocations: 1.34 MB / 439.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000557/0.1639, allocations: 205.8 kB / 439.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/0.1644, allocations: 383.3 kB / 440 MB, free: 7.023 MB / 366.1 MB Notification: Performance of SimCode: time 1.293e-06/0.1644, allocations: 0 / 440 MB, free: 7.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05268/0.2171, allocations: 19.15 MB / 459.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.352/9.569, allocations: 19.8 kB / 459.2 MB, free: 3.77 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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: 12.054275855887681]