Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001193/0.001193, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001617/0.001617, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 43.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2747, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005046/0.2797, allocations: 3.483 MB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.2817, allocations: 1.032 MB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.282, allocations: 27.81 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.2823, allocations: 162.8 kB / 435.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.2831, allocations: 318.3 kB / 436.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2834, allocations: 135.8 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.2849, allocations: 1.416 MB / 437.6 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008899/0.2857, allocations: 0.6685 MB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.2866, allocations: 0.6543 MB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.2877, allocations: 0.7979 MB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.2879, allocations: 156 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.2881, allocations: 164 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.2886, allocations: 474.7 kB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.2893, allocations: 0.6068 MB / 441.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.2914, allocations: 2.094 MB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2914, allocations: 4 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2914, allocations: 0 / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.2914, allocations: 0 / 443.2 MB, free: 10.41 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002954/0.2944, allocations: 1.658 MB / 444.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2944, allocations: 8.031 kB / 444.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/0.2946, allocations: 181.2 kB / 445.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.2951, allocations: 180 kB / 445.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.2967, allocations: 0.8553 MB / 446.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.2968, allocations: 94.19 kB / 446.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.2969, allocations: 115.9 kB / 446.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.2994, allocations: 1.715 MB / 448 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.2995, allocations: 0 / 448 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.2996, allocations: 48 kB / 448.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2996, allocations: 31.94 kB / 448.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.3017, allocations: 1.332 MB / 449.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006519/0.3082, allocations: 3.883 MB / 453.3 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.3092, allocations: 0.6169 MB / 453.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.31, allocations: 0.5022 MB / 454.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3101, allocations: 8.438 kB / 454.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3101, allocations: 39 kB / 454.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.3101, allocations: 0 / 454.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001451/0.3116, allocations: 0.8733 MB / 455.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.3116, allocations: 63.84 kB / 455.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3126, allocations: 0.8399 MB / 456.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.3127, allocations: 37.7 kB / 456.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/0.3131, allocations: 0.5507 MB / 456.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.3132, allocations: 190.4 kB / 457 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.3134, allocations: 102.3 kB / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3136, allocations: 390.7 kB / 457.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.3141, allocations: 305 kB / 457.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.3146, allocations: 395.4 kB / 458.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.3156, allocations: 0.6854 MB / 458.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3156, allocations: 4 kB / 458.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00123/0.3168, allocations: 0.8208 MB / 459.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3168, allocations: 7.984 kB / 459.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3168, allocations: 7.938 kB / 459.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3168, allocations: 4.281 kB / 459.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.3174, allocations: 143.9 kB / 459.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.3175, allocations: 15.86 kB / 459.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.3178, allocations: 63.61 kB / 460 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.3179, allocations: 23.98 kB / 460 MB, free: 9.219 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.00059/0.3184, allocations: 465.3 kB / 460.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3186, allocations: 75.53 kB / 460.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.3187, allocations: 95.06 kB / 460.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3187, allocations: 8 kB / 460.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3187, allocations: 3.938 kB / 460.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3187, allocations: 3.984 kB / 460.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.3217, allocations: 1.832 MB / 462.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3217, allocations: 3.938 kB / 462.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.3222, allocations: 115.9 kB / 462.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3222, allocations: 4 kB / 462.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/0.3223, allocations: 12 kB / 462.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3223, allocations: 0 / 462.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3223, allocations: 4 kB / 462.6 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3238, allocations: 1.134 MB / 463.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.324, allocations: 95.44 kB / 463.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.3241, allocations: 15.98 kB / 463.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3245, allocations: 47.95 kB / 463.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.3246, allocations: 44.31 kB / 463.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.3246, allocations: 19.98 kB / 463.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007439/0.3254, allocations: 0.5927 MB / 464.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3254, allocations: 0 / 464.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006784/0.326, allocations: 291.1 kB / 464.8 MB, free: 4.281 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.001821/0.3279, allocations: 1.69 MB / 466.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009588/0.3288, allocations: 0.626 MB / 467.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3288, allocations: 0 / 467.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.3293, allocations: 311 kB / 467.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.3301, allocations: 193.5 kB / 467.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3413, allocations: 8.541 MB / 476.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000786/0.342, allocations: 0.7447 MB / 476.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000479/0.3425, allocations: 213.8 kB / 477.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.343, allocations: 387.3 kB / 477.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.343, allocations: 0 / 477.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/0.3998, allocations: 20.9 MB / 498.4 MB, free: 2.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.35, allocations: 10.73 kB / 498.4 MB, free: 2.746 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 13.811916920996737]