Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001574/0.001574, 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.001506/0.001506, 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.472/1.472, allocations: 230.5 MB / 254 MB, free: 15.19 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.89 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1202, allocations: 53.37 MB / 426.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009949/0.1301, allocations: 7.858 MB / 434.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.1359, allocations: 2.737 MB / 437 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.1373, allocations: 87.38 kB / 437 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.139, allocations: 0.6014 MB / 437.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.1415, allocations: 0.7731 MB / 438.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.1424, allocations: 419.4 kB / 438.8 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.1467, allocations: 3.304 MB / 442.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.1501, allocations: 2.655 MB / 444.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.1535, allocations: 1.704 MB / 446.5 MB, free: 492 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2592/0.4127, allocations: 2.075 MB / 448.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.4138, allocations: 460.9 kB / 449 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.4156, allocations: 0.6755 MB / 449.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.417, allocations: 1.268 MB / 451 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.4209, allocations: 1.973 MB / 452.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009637/0.4305, allocations: 6.146 MB / 459.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4305, allocations: 3.812 kB / 459.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4305, allocations: 0 / 459.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002349/0.4308, allocations: 0 / 459.1 MB, free: 9.195 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.01229/0.4431, allocations: 3.908 MB / 463 MB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4431, allocations: 9.188 kB / 463 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007686/0.4439, allocations: 431.8 kB / 463.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.4458, allocations: 448.4 kB / 463.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.4502, allocations: 2.195 MB / 466 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.4504, allocations: 224.1 kB / 466.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006173/0.451, allocations: 279.8 kB / 466.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007997/0.459, allocations: 4.227 MB / 470.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.4591, allocations: 5.188 kB / 470.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/0.4594, allocations: 117 kB / 470.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.4596, allocations: 158.1 kB / 471 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/0.4657, allocations: 3.497 MB / 474.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02037/0.4861, allocations: 11.15 MB / 485.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.4889, allocations: 2.557 MB / 488.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.4912, allocations: 1.414 MB / 489.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.4915, allocations: 122.8 kB / 489.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.4915, allocations: 44.47 kB / 489.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.706e-06/0.4915, allocations: 4 kB / 489.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009834/0.5014, allocations: 5.208 MB / 495 MB, free: 3.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.5014, allocations: 94.42 kB / 495.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.5045, allocations: 1.918 MB / 497 MB, free: 1.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.5047, allocations: 52.75 kB / 497.1 MB, free: 1.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.5057, allocations: 1.365 MB / 498.5 MB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.5062, allocations: 484.9 kB / 498.9 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/0.5067, allocations: 271.5 kB / 499.2 MB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5068, allocations: 304.9 kB / 499.5 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.5081, allocations: 0.8159 MB / 0.4886 GB, free: 14.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.5097, allocations: 1.181 MB / 0.4897 GB, free: 13.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.5127, allocations: 2.082 MB / 0.4918 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5127, allocations: 4 kB / 0.4918 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004584/0.5172, allocations: 2.527 MB / 0.4942 GB, free: 8.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.5173, allocations: 16.19 kB / 0.4943 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.5173, allocations: 10.62 kB / 0.4943 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.5192, allocations: 478.9 kB / 0.4947 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5205, allocations: 329 kB / 0.495 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005963/0.5265, allocations: 4.391 MB / 0.4993 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.5283, allocations: 91.92 kB / 0.4994 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.5284, allocations: 60.8 kB / 0.4995 GB, free: 2.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002162/0.5306, allocations: 1.056 MB / 0.5005 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/0.5313, allocations: 206.2 kB / 0.5007 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.5352, allocations: 2.129 MB / 0.5028 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/0.5352, allocations: 23.66 kB / 0.5028 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5352, allocations: 4 kB / 0.5028 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5353, allocations: 10.59 kB / 0.5028 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009764/0.545, allocations: 5.181 MB / 0.5079 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.545, allocations: 0 / 0.5079 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/0.546, allocations: 226.8 kB / 0.5081 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.5478, allocations: 458.8 kB / 0.5085 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-05/0.5479, allocations: 31.98 kB / 0.5086 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/0.5534, allocations: 4.303 MB / 0.5128 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.5534, allocations: 7.938 kB / 0.5128 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.5588, allocations: 3.253 MB / 0.5159 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.56, allocations: 464.7 kB / 0.5164 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.5603, allocations: 35.98 kB / 0.5164 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5613, allocations: 91.97 kB / 0.5165 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.5616, allocations: 99.98 kB / 0.5166 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/0.5617, allocations: 39.98 kB / 0.5166 GB, free: 1.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002183/0.5639, allocations: 1.346 MB / 0.518 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5639, allocations: 0 / 0.518 GB, free: 15.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002041/0.5659, allocations: 0.5582 MB / 0.5185 GB, free: 15.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005873/0.5718, allocations: 3.932 MB / 0.5223 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.5756, allocations: 2.118 MB / 0.5244 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.5756, allocations: 8.125 kB / 0.5244 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.5776, allocations: 1.15 MB / 0.5255 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.5804, allocations: 0.515 MB / 0.526 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03546/0.6159, allocations: 20.6 MB / 0.5462 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/0.6184, allocations: 2.435 MB / 0.5485 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001532/0.6199, allocations: 497.3 kB / 0.549 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/0.6214, allocations: 1.077 MB / 0.5501 GB, free: 14.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6214, allocations: 0 / 0.5501 GB, free: 14.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.731, allocations: 52.41 MB / 0.6012 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.11, allocations: 7.375 kB / 0.6013 GB, free: 10.65 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.l2sigma.inductor[1].i in file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.7154255079804]