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.001341/0.001341, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002202/0.002202, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001717/0.001717, allocations: 43.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2704, allocations: 53.37 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005471/0.2759, allocations: 3.482 MB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.2783, allocations: 1.032 MB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004944/0.2788, allocations: 31.75 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.2793, allocations: 166.8 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.2805, allocations: 310.4 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2809, allocations: 131.8 kB / 436.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.2826, allocations: 1.42 MB / 437.6 MB, free: 24 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009485/0.2836, allocations: 0.6412 MB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.2844, allocations: 0.6698 MB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.2856, allocations: 0.7979 MB / 439.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.2859, allocations: 160 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.2862, allocations: 164 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.2866, allocations: 470.7 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000696/0.2873, allocations: 0.6145 MB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.2894, allocations: 2.09 MB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2894, allocations: 0 / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2894, allocations: 4 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.2894, allocations: 0 / 443.2 MB, free: 10.38 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.00311/0.2925, allocations: 1.658 MB / 444.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2926, allocations: 8.031 kB / 444.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.2928, allocations: 181.3 kB / 445.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004889/0.2933, allocations: 176 kB / 445.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.295, allocations: 0.863 MB / 446.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.2951, allocations: 90.19 kB / 446.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2952, allocations: 108 kB / 446.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.298, allocations: 1.727 MB / 448 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.298, allocations: 0 / 448 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2981, allocations: 44 kB / 448.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.2981, allocations: 28 kB / 448.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.3003, allocations: 1.336 MB / 449.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.3071, allocations: 3.887 MB / 453.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.3081, allocations: 0.6217 MB / 453.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009164/0.309, allocations: 0.4905 MB / 454.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.309, allocations: 8.422 kB / 454.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3091, allocations: 39 kB / 454.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 5e-06/0.3091, allocations: 3.984 kB / 454.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001607/0.3107, allocations: 0.8771 MB / 455.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3107, allocations: 63.83 kB / 455.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3118, allocations: 0.836 MB / 456.3 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.3119, allocations: 37.7 kB / 456.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.3123, allocations: 0.5546 MB / 456.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.3125, allocations: 186.4 kB / 457 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.3126, allocations: 106.3 kB / 457.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3128, allocations: 386.8 kB / 457.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.3133, allocations: 301.1 kB / 457.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.3139, allocations: 403.3 kB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3149, allocations: 0.6854 MB / 458.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3149, allocations: 8 kB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001285/0.3162, allocations: 0.8169 MB / 459.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3162, allocations: 8 kB / 459.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3162, allocations: 0 / 459.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3162, allocations: 8.281 kB / 459.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.3168, allocations: 147.8 kB / 459.9 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3169, allocations: 11.94 kB / 459.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3172, allocations: 67.59 kB / 460 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3173, allocations: 16 kB / 460 MB, free: 9.191 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.0005933/0.3178, allocations: 465.4 kB / 460.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.318, allocations: 83.47 kB / 460.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3181, allocations: 87.08 kB / 460.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3181, allocations: 4 kB / 460.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.3182, allocations: 11.94 kB / 460.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3182, allocations: 3.984 kB / 460.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.3213, allocations: 1.832 MB / 462.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3213, allocations: 4 kB / 462.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.3218, allocations: 115.8 kB / 462.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.3218, allocations: 4 kB / 462.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.3218, allocations: 11.98 kB / 462.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3219, allocations: 4 kB / 462.6 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3219, allocations: 0 / 462.6 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.3235, allocations: 1.134 MB / 463.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3237, allocations: 99.42 kB / 463.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.3238, allocations: 16 kB / 463.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.3242, allocations: 47.95 kB / 463.9 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.3243, allocations: 44.3 kB / 463.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3243, allocations: 16 kB / 463.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007732/0.3251, allocations: 0.6005 MB / 464.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3251, allocations: 0 / 464.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000669/0.3257, allocations: 283.1 kB / 464.8 MB, free: 4.25 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.002021/0.3277, allocations: 1.682 MB / 466.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.3288, allocations: 0.6298 MB / 467.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3288, allocations: 0 / 467.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.3293, allocations: 311.1 kB / 467.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.3302, allocations: 194.9 kB / 467.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.3424, allocations: 8.534 MB / 476.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/0.3432, allocations: 0.7525 MB / 476.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005057/0.3437, allocations: 205.8 kB / 477.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.3442, allocations: 387.3 kB / 477.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3442, allocations: 0 / 477.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.3993, allocations: 20.68 MB / 498.2 MB, free: 2.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.48, allocations: 15.06 kB / 498.2 MB, free: 2.934 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_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_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.csv","/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: 15.06268404610455]