Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 213.6 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 53.41 MB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005734/0.3029, allocations: 3.489 MB / 434.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.305, allocations: 1.044 MB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.3053, allocations: 35.75 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.3056, allocations: 154.8 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008701/0.3065, allocations: 318.3 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3067, allocations: 139.8 kB / 436.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3084, allocations: 1.428 MB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000973/0.3093, allocations: 0.6357 MB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.3102, allocations: 0.6619 MB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3113, allocations: 0.8134 MB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.3115, allocations: 160 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.3118, allocations: 164 kB / 440.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.3123, allocations: 474.7 kB / 440.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000668/0.313, allocations: 0.6185 MB / 441.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.3152, allocations: 2.11 MB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3152, allocations: 0 / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3152, allocations: 0 / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.3152, allocations: 0 / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003155/0.3184, allocations: 1.658 MB / 445 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3185, allocations: 11.98 kB / 445 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/0.3187, allocations: 181.4 kB / 445.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.3192, allocations: 176 kB / 445.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.3209, allocations: 0.8746 MB / 446.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/0.321, allocations: 86.19 kB / 446.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.3212, allocations: 108 kB / 446.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.3239, allocations: 1.739 MB / 448.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3239, allocations: 0 / 448.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.324, allocations: 48 kB / 448.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.3241, allocations: 38.25 kB / 448.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.3264, allocations: 1.348 MB / 449.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007131/0.3335, allocations: 3.891 MB / 453.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009999/0.3345, allocations: 0.6247 MB / 454.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/0.3354, allocations: 0.4983 MB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3355, allocations: 4.438 kB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.137e-05/0.3355, allocations: 39 kB / 454.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.375e-06/0.3355, allocations: 0 / 454.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001561/0.3371, allocations: 0.8849 MB / 455.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.3372, allocations: 55.84 kB / 455.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3384, allocations: 0.8437 MB / 456.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.3384, allocations: 41.64 kB / 456.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.339, allocations: 0.5584 MB / 457 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.3392, allocations: 182.4 kB / 457.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3393, allocations: 106.3 kB / 457.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3396, allocations: 386.8 kB / 457.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.3401, allocations: 305.1 kB / 458 MB, free: 11.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.3406, allocations: 399.3 kB / 458.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3417, allocations: 0.6854 MB / 459.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3417, allocations: 0 / 459.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001365/0.3431, allocations: 0.8208 MB / 459.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3431, allocations: 12.28 kB / 459.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3431, allocations: 8 kB / 459.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3431, allocations: 7.938 kB / 459.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.3438, allocations: 147.8 kB / 460.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3438, allocations: 4 kB / 460.1 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.3441, allocations: 63.61 kB / 460.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.3442, allocations: 19.98 kB / 460.2 MB, free: 8.945 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.000631/0.3448, allocations: 466 kB / 460.6 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3449, allocations: 83.52 kB / 460.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.3451, allocations: 91.08 kB / 460.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3451, allocations: 7.938 kB / 460.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3451, allocations: 0 / 460.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3451, allocations: 7.922 kB / 460.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.3483, allocations: 1.828 MB / 462.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.3484, allocations: 4 kB / 462.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.3489, allocations: 115.8 kB / 462.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3489, allocations: 4 kB / 462.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.3489, allocations: 15.98 kB / 462.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3489, allocations: 8.156 kB / 462.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3489, allocations: 3.938 kB / 462.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3506, allocations: 1.122 MB / 463.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.3508, allocations: 103.4 kB / 464 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.3509, allocations: 8 kB / 464 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3513, allocations: 51.95 kB / 464.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3514, allocations: 44.39 kB / 464.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.3515, allocations: 19.92 kB / 464.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009172/0.3524, allocations: 0.6005 MB / 464.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3524, allocations: 0 / 464.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.3532, allocations: 295 kB / 465 MB, free: 3.988 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.002084/0.3553, allocations: 1.682 MB / 466.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3564, allocations: 0.6337 MB / 467.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3564, allocations: 0.5625 kB / 467.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.3569, allocations: 310.3 kB / 467.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.3578, allocations: 179 kB / 467.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.3702, allocations: 8.567 MB / 476.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/0.3712, allocations: 0.7528 MB / 477.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000568/0.3717, allocations: 209.8 kB / 477.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.3723, allocations: 387.3 kB / 477.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3723, allocations: 4 kB / 477.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06078/0.4331, allocations: 20.7 MB / 498.4 MB, free: 2.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 0 / 498.4 MB, free: 2.586 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.384829456917942]