Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001299/0.001299, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001498/0.001498, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.86 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3486, allocations: 53.4 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005954/0.3546, allocations: 3.839 MB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.3569, allocations: 1.04 MB / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.3571, allocations: 31.75 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.3575, allocations: 158.8 kB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.3585, allocations: 302.4 kB / 436.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.3588, allocations: 135.8 kB / 436.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.3605, allocations: 1.412 MB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009565/0.3614, allocations: 0.6353 MB / 438.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000947/0.3624, allocations: 0.6504 MB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.3635, allocations: 0.7822 MB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.3637, allocations: 156 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.364, allocations: 164 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.3645, allocations: 462.7 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008297/0.3653, allocations: 0.735 MB / 441.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.3675, allocations: 2.06 MB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3675, allocations: 0 / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3675, allocations: 0 / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.3676, allocations: 0 / 443.7 MB, free: 10.07 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003115/0.3707, allocations: 1.638 MB / 445.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3707, allocations: 8.031 kB / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.371, allocations: 173.3 kB / 445.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005278/0.3715, allocations: 180 kB / 445.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.3731, allocations: 0.8513 MB / 446.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.3732, allocations: 86.16 kB / 446.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.3734, allocations: 108 kB / 446.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.3759, allocations: 1.556 MB / 448.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.376, allocations: 0 / 448.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.3761, allocations: 48 kB / 448.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.3762, allocations: 46.16 kB / 448.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.3783, allocations: 1.316 MB / 449.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006896/0.3852, allocations: 4.105 MB / 453.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.3861, allocations: 0.5814 MB / 454.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.3869, allocations: 418 kB / 454.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.3869, allocations: 4.375 kB / 454.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.387, allocations: 46.81 kB / 454.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.514e-06/0.387, allocations: 4 kB / 454.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003409/0.3904, allocations: 1.805 MB / 456.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3904, allocations: 59.78 kB / 456.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3916, allocations: 0.8244 MB / 457.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.3916, allocations: 33.7 kB / 457.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.3921, allocations: 0.5583 MB / 458.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3923, allocations: 174.5 kB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3925, allocations: 102.3 kB / 458.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.3927, allocations: 382.8 kB / 458.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.3933, allocations: 297.1 kB / 459.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.3939, allocations: 405 kB / 459.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.395, allocations: 0.6919 MB / 460.2 MB, free: 9.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.395, allocations: 4 kB / 460.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001526/0.3965, allocations: 0.9022 MB / 461.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3965, allocations: 6.5 kB / 461.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3965, allocations: 4 kB / 461.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.3968, allocations: 112.7 kB / 461.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.3973, allocations: 111.9 kB / 461.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.4002, allocations: 2.261 MB / 463.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.4006, allocations: 23.98 kB / 463.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.4007, allocations: 19.98 kB / 463.6 MB, free: 5.613 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0007679/0.4014, allocations: 458 kB / 464 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4016, allocations: 79.47 kB / 464.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.4018, allocations: 99.12 kB / 464.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4018, allocations: 4.188 kB / 464.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.4018, allocations: 0 / 464.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4018, allocations: 7.938 kB / 464.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.4051, allocations: 1.878 MB / 466.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4051, allocations: 3.938 kB / 466.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.4054, allocations: 83.95 kB / 466.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.4057, allocations: 108.7 kB / 466.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.4057, allocations: 15.92 kB / 466.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.4082, allocations: 2.218 MB / 468.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4082, allocations: 4.031 kB / 468.5 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4099, allocations: 1.149 MB / 469.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.4101, allocations: 87.5 kB / 469.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.4102, allocations: 15.94 kB / 469.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4106, allocations: 48.02 kB / 469.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4107, allocations: 43.86 kB / 469.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.4107, allocations: 16.06 kB / 469.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008669/0.4116, allocations: 0.5965 MB / 470.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4116, allocations: 0 / 470.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008026/0.4124, allocations: 208 kB / 470.7 MB, free: 14.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.002192/0.4146, allocations: 1.704 MB / 472.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.416, allocations: 0.7807 MB / 473.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.416, allocations: 0 / 473.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.4168, allocations: 455.2 kB / 473.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008195/0.4176, allocations: 181.4 kB / 473.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.4302, allocations: 8.514 MB / 482.3 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.4313, allocations: 1.34 MB / 483.6 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004543/0.4318, allocations: 177.7 kB / 483.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.4323, allocations: 383.3 kB / 484.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4323, allocations: 0 / 484.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05855/0.4908, allocations: 19.95 MB / 0.4923 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13, allocations: 7.484 kB / 0.4923 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformerL.inductor[3].i in file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv. Warning: Get data of variable transformerL.inductor[3].i from file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.533421796000766]