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.001298/0.001298, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001354/0.001354, allocations: 184.6 kB / 23.72 MB, free: 4.699 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.427/1.427, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.001787/0.001787, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2959, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005481/0.3013, allocations: 3.815 MB / 426.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3033, allocations: 1.012 MB / 427.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.3035, allocations: 27.81 kB / 427.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.3039, allocations: 162.8 kB / 427.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008368/0.3047, allocations: 306.4 kB / 427.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.305, allocations: 123.8 kB / 428.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.3065, allocations: 1.412 MB / 429.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.3073, allocations: 0.6591 MB / 430.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.3081, allocations: 0.6542 MB / 430.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.3093, allocations: 0.7861 MB / 431.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.3095, allocations: 160 kB / 431.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.3098, allocations: 160 kB / 431.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.3102, allocations: 470.6 kB / 432.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008145/0.311, allocations: 0.735 MB / 433.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.3132, allocations: 2.079 MB / 435.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3132, allocations: 4 kB / 435.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3132, allocations: 0 / 435.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.3132, allocations: 0 / 435.2 MB, free: 1.973 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.00326/0.3165, allocations: 1.658 MB / 436.8 MB, free: 284 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3165, allocations: 8.031 kB / 436.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.3167, allocations: 173.3 kB / 437 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.317, allocations: 156 kB / 437.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3186, allocations: 0.8201 MB / 438 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.3187, allocations: 90.19 kB / 438.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.3189, allocations: 112 kB / 438.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.3214, allocations: 1.568 MB / 439.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.3214, allocations: 0 / 439.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.3215, allocations: 48 kB / 439.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.3215, allocations: 28 kB / 439.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.3237, allocations: 1.336 MB / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007002/0.3307, allocations: 4.218 MB / 445.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/0.3316, allocations: 0.6232 MB / 446 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.3326, allocations: 0.4917 MB / 446.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.3326, allocations: 4.438 kB / 446.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.3326, allocations: 39 kB / 446.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.044e-06/0.3326, allocations: 3.938 kB / 446.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001536/0.3342, allocations: 0.8772 MB / 447.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3342, allocations: 59.84 kB / 447.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.3353, allocations: 0.8243 MB / 448.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.3354, allocations: 33.7 kB / 448.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.3358, allocations: 0.5584 MB / 448.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.336, allocations: 190.4 kB / 449.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3362, allocations: 102.3 kB / 449.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3364, allocations: 386.8 kB / 449.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.3368, allocations: 297.1 kB / 449.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.3374, allocations: 399.4 kB / 450.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.3384, allocations: 0.6893 MB / 450.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3384, allocations: 0 / 450.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001279/0.3397, allocations: 0.8208 MB / 451.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3397, allocations: 8 kB / 451.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3397, allocations: 4.281 kB / 451.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.3397, allocations: 4 kB / 451.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.3403, allocations: 147.8 kB / 451.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.3403, allocations: 11.94 kB / 451.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.3407, allocations: 67.59 kB / 452 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.3407, allocations: 16 kB / 452 MB, free: 0.7422 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.0006405/0.3414, allocations: 457.4 kB / 452.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3415, allocations: 83.52 kB / 452.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.3417, allocations: 95.08 kB / 452.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3417, allocations: 4 kB / 452.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.3417, allocations: 7.922 kB / 452.6 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3417, allocations: 3.938 kB / 452.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.3448, allocations: 1.921 MB / 454.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3448, allocations: 0 / 454.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.3453, allocations: 116 kB / 454.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3453, allocations: 4 kB / 454.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.3454, allocations: 15.98 kB / 454.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3454, allocations: 4 kB / 454.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3454, allocations: 4 kB / 454.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.347, allocations: 1.126 MB / 455.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3472, allocations: 103.4 kB / 455.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.3472, allocations: 20 kB / 455.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.3476, allocations: 43.95 kB / 456 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3478, allocations: 52.23 kB / 456 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.3478, allocations: 16 kB / 456 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008263/0.3486, allocations: 0.5849 MB / 456.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3486, allocations: 7.938 kB / 456.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000745/0.3494, allocations: 287.1 kB / 456.9 MB, free: 11.7 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.001887/0.3512, allocations: 1.678 MB / 458.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.3523, allocations: 0.6304 MB / 459.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3523, allocations: 64 / 459.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.3528, allocations: 314.2 kB / 459.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.3537, allocations: 190.3 kB / 459.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.3658, allocations: 8.517 MB / 468.2 MB, free: 156 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.3668, allocations: 1.336 MB / 469.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005278/0.3673, allocations: 205.8 kB / 469.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.3679, allocations: 391.3 kB / 470.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3679, allocations: 4 kB / 470.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06129/0.4292, allocations: 19.66 MB / 489.8 MB, free: 10.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.78, allocations: 14.05 kB / 489.8 MB, free: 10.78 MB / 398.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.190762427868322]