Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.001763/0.001763, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001823/0.001823, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.392/1.392, 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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 51.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005362/0.1106, allocations: 3.793 MB / 421.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1123, allocations: 1.001 MB / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1125, allocations: 23.88 kB / 422.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.1129, allocations: 158.8 kB / 422.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007077/0.1136, allocations: 298.4 kB / 423 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1139, allocations: 119.9 kB / 423.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1153, allocations: 1.416 MB / 424.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1164, allocations: 0.9087 MB / 425.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.1171, allocations: 0.6386 MB / 426.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009697/0.1181, allocations: 0.79 MB / 426.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.1183, allocations: 160 kB / 427.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.1185, allocations: 160 kB / 427.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.1189, allocations: 470.7 kB / 427.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007241/0.1196, allocations: 0.7467 MB / 428.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.1216, allocations: 2.063 MB / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1216, allocations: 4 kB / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1216, allocations: 0 / 430.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.1216, allocations: 3.938 kB / 430.5 MB, free: 15.8 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002981/0.1246, allocations: 1.729 MB / 432.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1247, allocations: 8.031 kB / 432.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.1249, allocations: 181.2 kB / 432.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.1251, allocations: 156 kB / 432.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1268, allocations: 0.8741 MB / 433.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.1268, allocations: 98.12 kB / 433.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.127, allocations: 108 kB / 433.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.1294, allocations: 1.572 MB / 435.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.1295, allocations: 4 kB / 435.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.1296, allocations: 48 kB / 435.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.1296, allocations: 28 kB / 435.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.1317, allocations: 1.332 MB / 436.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006959/0.1387, allocations: 4.284 MB / 440.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.14, allocations: 1.301 MB / 442.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008935/0.1409, allocations: 0.4944 MB / 442.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.141, allocations: 4.438 kB / 442.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.141, allocations: 42.98 kB / 442.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.141, allocations: 0 / 442.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001514/0.1425, allocations: 0.8772 MB / 443.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1426, allocations: 59.83 kB / 443.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1437, allocations: 0.8243 MB / 444.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.1437, allocations: 37.64 kB / 444.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.1442, allocations: 0.5507 MB / 445.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.1444, allocations: 186.4 kB / 445.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.1445, allocations: 102.2 kB / 445.4 MB, free: 400 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1762/0.3207, allocations: 394.7 kB / 445.8 MB, free: 29.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/0.3213, allocations: 298.2 kB / 446.1 MB, free: 29.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.3217, allocations: 394.1 kB / 446.4 MB, free: 29.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.3225, allocations: 0.6852 MB / 447.1 MB, free: 29.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3225, allocations: 4.25 kB / 447.1 MB, free: 29.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001163/0.3237, allocations: 0.8279 MB / 448 MB, free: 29.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3237, allocations: 3.688 kB / 448 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3237, allocations: 7.75 kB / 448 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.3237, allocations: 3.844 kB / 448 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.3243, allocations: 150.3 kB / 448.1 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3243, allocations: 7.094 kB / 448.1 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.3246, allocations: 61.62 kB / 448.2 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3247, allocations: 22.16 kB / 448.2 MB, free: 29.46 MB / 366.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.0005393/0.3252, allocations: 463.9 kB / 448.7 MB, free: 29.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.3253, allocations: 76.09 kB / 448.7 MB, free: 29.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.3254, allocations: 87.72 kB / 448.8 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3254, allocations: 9.875 kB / 448.8 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3254, allocations: 0 / 448.8 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3254, allocations: 3.438 kB / 448.8 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.3282, allocations: 1.941 MB / 450.8 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3282, allocations: 2.109 kB / 450.8 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.3287, allocations: 119.9 kB / 450.9 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3287, allocations: 4.531 kB / 450.9 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.3287, allocations: 16.61 kB / 450.9 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.3287, allocations: 4.938 kB / 450.9 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3287, allocations: 5.781 kB / 450.9 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.3302, allocations: 1.131 MB / 452.1 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.3304, allocations: 172.5 kB / 452.2 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.3305, allocations: 14.72 kB / 452.2 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3309, allocations: 47.53 kB / 452.3 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.331, allocations: 43.09 kB / 452.3 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.331, allocations: 17.31 kB / 452.3 MB, free: 28.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008763/0.3319, allocations: 0.5879 MB / 452.9 MB, free: 28.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 3.688 kB / 452.9 MB, free: 28.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006928/0.3326, allocations: 287.3 kB / 453.2 MB, free: 28.29 MB / 366.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.001559/0.3341, allocations: 1.684 MB / 454.9 MB, free: 27.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3351, allocations: 0.6328 MB / 455.5 MB, free: 27.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3352, allocations: 1.094 kB / 455.5 MB, free: 27.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.3356, allocations: 311.1 kB / 455.8 MB, free: 27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.3365, allocations: 182.3 kB / 456 MB, free: 26.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.3474, allocations: 8.516 MB / 464.5 MB, free: 23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/0.3483, allocations: 1.335 MB / 465.9 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000599/0.3489, allocations: 211.4 kB / 466.1 MB, free: 22.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.3493, allocations: 386.2 kB / 466.4 MB, free: 21.86 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3493, allocations: 0 / 466.4 MB, free: 21.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.3947, allocations: 19.2 MB / 485.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.096/9.491, allocations: 16.47 kB / 485.7 MB, free: 8.879 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.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: 11.849729405716062]