Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001862/0.001862, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002384/0.002384, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 377.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3071, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005631/0.3127, allocations: 3.82 MB / 435 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3148, allocations: 1.032 MB / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.3151, allocations: 31.75 kB / 436 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.3155, allocations: 154.8 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008522/0.3163, allocations: 294.4 kB / 436.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3166, allocations: 139.7 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3181, allocations: 1.409 MB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008266/0.3189, allocations: 0.6274 MB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007719/0.3197, allocations: 0.6464 MB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.3207, allocations: 0.7861 MB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.3209, allocations: 156 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.3212, allocations: 156 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.3216, allocations: 466.7 kB / 440.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007596/0.3224, allocations: 0.735 MB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.3244, allocations: 2.048 MB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3244, allocations: 3.938 kB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3244, allocations: 0 / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.3245, allocations: 0 / 443.6 MB, free: 10.31 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003046/0.3275, allocations: 1.634 MB / 445.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3275, allocations: 8.031 kB / 445.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.3278, allocations: 169.2 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.3282, allocations: 180 kB / 445.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.3298, allocations: 0.8512 MB / 446.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.3298, allocations: 86.16 kB / 446.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.33, allocations: 104 kB / 446.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.3324, allocations: 1.548 MB / 448.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3324, allocations: 0 / 448.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3325, allocations: 44 kB / 448.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3325, allocations: 31.98 kB / 448.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.3347, allocations: 1.312 MB / 449.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/0.3414, allocations: 4.125 MB / 453.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.3423, allocations: 0.6087 MB / 454.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.343, allocations: 438.5 kB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.343, allocations: 8.438 kB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.3431, allocations: 38.94 kB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.796e-06/0.3431, allocations: 0 / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003296/0.3464, allocations: 1.881 MB / 456.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3464, allocations: 55.84 kB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3475, allocations: 0.8321 MB / 457.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3475, allocations: 37.64 kB / 457.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.348, allocations: 0.5661 MB / 458.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3481, allocations: 178.5 kB / 458.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.3483, allocations: 102.3 kB / 458.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3485, allocations: 390.8 kB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.349, allocations: 297.1 kB / 459.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.3496, allocations: 412.2 kB / 459.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.3506, allocations: 0.7018 MB / 460.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3506, allocations: 4 kB / 460.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001479/0.3521, allocations: 0.9155 MB / 461.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3521, allocations: 8.062 kB / 461.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3521, allocations: 4 kB / 461.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.3524, allocations: 108.8 kB / 461.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3529, allocations: 123.8 kB / 461.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.3554, allocations: 2.257 MB / 463.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.3557, allocations: 28.05 kB / 463.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.3557, allocations: 20 kB / 463.7 MB, free: 5.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006624/0.3564, allocations: 457.4 kB / 464.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3565, allocations: 83.47 kB / 464.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.3567, allocations: 87.08 kB / 464.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3567, allocations: 8 kB / 464.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3567, allocations: 4 kB / 464.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3567, allocations: 8.172 kB / 464.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.36, allocations: 1.985 MB / 466.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.36, allocations: 3.938 kB / 466.3 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3603, allocations: 95.98 kB / 466.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.3606, allocations: 100.8 kB / 466.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3606, allocations: 15.98 kB / 466.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.363, allocations: 2.214 MB / 468.7 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.363, allocations: 8.016 kB / 468.7 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.3648, allocations: 1.204 MB / 469.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.365, allocations: 87.5 kB / 470 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.3651, allocations: 16 kB / 470 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.3655, allocations: 43.95 kB / 470.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3656, allocations: 48.36 kB / 470.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.3656, allocations: 20.05 kB / 470.1 MB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008093/0.3664, allocations: 0.5888 MB / 470.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3664, allocations: 0 / 470.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007708/0.3672, allocations: 212 kB / 470.9 MB, free: 14.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.3694, allocations: 1.764 MB / 472.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3708, allocations: 0.8007 MB / 473.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3708, allocations: 0 / 473.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.3716, allocations: 476.8 kB / 473.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.3724, allocations: 179.5 kB / 474.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.3849, allocations: 8.657 MB / 482.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.3861, allocations: 1.344 MB / 484.1 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005158/0.3866, allocations: 185.8 kB / 484.3 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.3871, allocations: 379.3 kB / 484.7 MB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3871, allocations: 0 / 484.7 MB, free: 148 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/0.4499, allocations: 20.19 MB / 0.493 GB, free: 12.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.33, allocations: 7.312 kB / 0.493 GB, free: 12.2 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.795295668998733]