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.001776/0.001776, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.002156/0.002156, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.611/1.611, allocations: 230.5 MB / 254 MB, free: 15.17 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.001865/0.001865, allocations: 63.89 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1214, allocations: 53.38 MB / 426.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005954/0.1274, allocations: 3.82 MB / 430.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2414/0.3688, allocations: 1.025 MB / 431.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.3694, allocations: 31.72 kB / 431.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.3699, allocations: 156.4 kB / 431.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009501/0.3708, allocations: 288.9 kB / 431.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.3711, allocations: 138 kB / 431.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.3724, allocations: 1.407 MB / 433.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.3735, allocations: 0.8801 MB / 434.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3746, allocations: 0.6579 MB / 434.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.3757, allocations: 0.7691 MB / 435.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.3759, allocations: 161.1 kB / 435.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.3762, allocations: 162.6 kB / 435.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.3767, allocations: 462.9 kB / 436.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009311/0.3776, allocations: 0.74 MB / 437 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.3803, allocations: 2.053 MB / 439.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3803, allocations: 0 / 439.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3803, allocations: 1.438 kB / 439.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.534e-05/0.3803, allocations: 0.7031 kB / 439.1 MB, free: 5.605 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.003416/0.3837, allocations: 1.706 MB / 440.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3838, allocations: 9.062 kB / 440.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.384, allocations: 181.8 kB / 441 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.3846, allocations: 178 kB / 441.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.386, allocations: 0.8981 MB / 442 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.3861, allocations: 82.84 kB / 442.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3863, allocations: 112 kB / 442.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.3892, allocations: 1.561 MB / 443.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3892, allocations: 1.781 kB / 443.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3893, allocations: 49.2 kB / 443.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.3894, allocations: 42.61 kB / 443.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.3915, allocations: 1.321 MB / 445.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.3979, allocations: 4.166 MB / 449.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.399, allocations: 1.268 MB / 450.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.3997, allocations: 412.9 kB / 451 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3997, allocations: 5.875 kB / 451 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.3998, allocations: 37.69 kB / 451.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.425e-06/0.3998, allocations: 0 / 451.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003631/0.4034, allocations: 1.883 MB / 453 MB, free: 14.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4035, allocations: 63.92 kB / 453 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.4049, allocations: 0.8208 MB / 453.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.4049, allocations: 40.83 kB / 453.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.4055, allocations: 0.5636 MB / 454.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.4058, allocations: 167.3 kB / 454.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.406, allocations: 99.86 kB / 454.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002873/0.4063, allocations: 384.1 kB / 455.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007834/0.4071, allocations: 304.4 kB / 455.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.408, allocations: 397.9 kB / 455.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4097, allocations: 0.684 MB / 456.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4097, allocations: 1.062 kB / 456.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002494/0.4122, allocations: 0.9051 MB / 457.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.4122, allocations: 9.781 kB / 457.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4122, allocations: 3.125 kB / 457.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.4127, allocations: 111.5 kB / 457.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.4135, allocations: 118.3 kB / 457.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.4167, allocations: 2.362 MB / 460 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.4172, allocations: 30.66 kB / 460 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.4173, allocations: 23.09 kB / 460 MB, free: 9.039 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.0009154/0.4182, allocations: 452.8 kB / 460.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4183, allocations: 80.47 kB / 460.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.4185, allocations: 92.72 kB / 460.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4186, allocations: 5.703 kB / 460.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.4186, allocations: 1.438 kB / 460.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4186, allocations: 0 / 460.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.4221, allocations: 1.918 MB / 462.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4221, allocations: 0 / 462.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.4224, allocations: 77.67 kB / 462.6 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.4227, allocations: 103.5 kB / 462.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.4227, allocations: 16.91 kB / 462.7 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.4255, allocations: 2.327 MB / 465.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.4255, allocations: 7.031 kB / 465.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.4278, allocations: 1.151 MB / 466.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.4283, allocations: 164.2 kB / 466.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.4284, allocations: 12.23 kB / 466.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.4288, allocations: 52.98 kB / 466.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.429, allocations: 36.83 kB / 466.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.429, allocations: 18.2 kB / 466.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.4302, allocations: 0.5894 MB / 467.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4302, allocations: 0 / 467.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001065/0.4312, allocations: 209.1 kB / 467.3 MB, free: 4.004 MB / 366.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.002183/0.4334, allocations: 1.698 MB / 469 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.4352, allocations: 0.786 MB / 469.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4352, allocations: 0 / 469.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008824/0.4361, allocations: 455.7 kB / 470.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4371, allocations: 177.3 kB / 470.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.4505, allocations: 8.491 MB / 478.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.4517, allocations: 1.341 MB / 480.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005063/0.4522, allocations: 174.8 kB / 480.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/0.4527, allocations: 387.3 kB / 480.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4527, allocations: 4 kB / 480.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05909/0.5118, allocations: 19.52 MB / 0.4886 GB, free: 4.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.58, allocations: 19.91 kB / 0.4886 GB, free: 4.527 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.260956758982502]