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.001288/0.001288, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001425/0.001425, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 7.746 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 59.91 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2763, allocations: 53.4 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009591/0.2859, allocations: 6.939 MB / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.2916, allocations: 2.597 MB / 441.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.2931, allocations: 95.38 kB / 441.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2946, allocations: 0.5898 MB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.297, allocations: 0.7769 MB / 442.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.298, allocations: 431.4 kB / 443.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003725/0.3018, allocations: 3.311 MB / 446.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.3044, allocations: 2.004 MB / 448.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.3075, allocations: 1.716 MB / 450.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.3109, allocations: 2.09 MB / 452.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008417/0.3117, allocations: 460 kB / 452.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3132, allocations: 0.6675 MB / 453.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.3145, allocations: 1.262 MB / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.3166, allocations: 1.603 MB / 456.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006536/0.3231, allocations: 6.167 MB / 462.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3231, allocations: 0 / 462.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3231, allocations: 3.938 kB / 462.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001014/0.3232, allocations: 0 / 462.6 MB, free: 7.637 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.007777/0.331, allocations: 3.828 MB / 466.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.331, allocations: 8.031 kB / 466.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.396e-05/0.3311, allocations: 82.05 kB / 466.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005554/0.3317, allocations: 430 kB / 466.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.333, allocations: 450.5 kB / 467.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.3368, allocations: 2.115 MB / 469.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.337, allocations: 233.9 kB / 469.7 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.3375, allocations: 288 kB / 470 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007463/0.3449, allocations: 4.473 MB / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.345, allocations: 0 / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.3453, allocations: 116 kB / 474.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.3455, allocations: 153.9 kB / 474.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.3517, allocations: 3.509 MB / 478.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.3699, allocations: 9.748 MB / 488 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.3724, allocations: 1.648 MB / 489.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.3748, allocations: 1.403 MB / 491 MB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.3751, allocations: 48.97 kB / 491.1 MB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.3751, allocations: 51.56 kB / 491.1 MB, free: 10.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 5.219e-06/0.3751, allocations: 3.984 kB / 491.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009867/0.385, allocations: 5.132 MB / 496.3 MB, free: 5.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.385, allocations: 90.42 kB / 496.4 MB, free: 5.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.3881, allocations: 1.922 MB / 498.3 MB, free: 3.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.3882, allocations: 45.7 kB / 498.3 MB, free: 3.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.3893, allocations: 1.369 MB / 499.7 MB, free: 2.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.3898, allocations: 479.9 kB / 0.4884 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/0.3902, allocations: 271.5 kB / 0.4887 GB, free: 1.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3904, allocations: 309.1 kB / 0.489 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.3917, allocations: 0.8159 MB / 0.4898 GB, free: 148 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.3933, allocations: 1.204 MB / 0.491 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.3963, allocations: 2.086 MB / 0.493 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.3963, allocations: 4 kB / 0.493 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004658/0.401, allocations: 2.531 MB / 0.4955 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.401, allocations: 8 kB / 0.4955 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.401, allocations: 8 kB / 0.4955 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.403, allocations: 475.1 kB / 0.496 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.4043, allocations: 335.5 kB / 0.4963 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/0.41, allocations: 4.231 MB / 0.5004 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4114, allocations: 83.83 kB / 0.5005 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4115, allocations: 63.98 kB / 0.5005 GB, free: 4.727 MB / 414.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.001782/0.4133, allocations: 1.056 MB / 0.5016 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/0.4138, allocations: 198.8 kB / 0.5018 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.4175, allocations: 2.137 MB / 0.5039 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/0.4175, allocations: 19.98 kB / 0.5039 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4175, allocations: 4 kB / 0.5039 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.4175, allocations: 7.922 kB / 0.5039 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/0.4259, allocations: 4.881 MB / 0.5087 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4259, allocations: 3.984 kB / 0.5087 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.4269, allocations: 231.6 kB / 0.5089 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.4288, allocations: 456.5 kB / 0.5093 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.4289, allocations: 31.97 kB / 0.5093 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/0.4344, allocations: 4.157 MB / 0.5134 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4344, allocations: 4.031 kB / 0.5134 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005424/0.4398, allocations: 3.249 MB / 0.5166 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.4409, allocations: 390.7 kB / 0.517 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.4412, allocations: 28.06 kB / 0.517 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.4422, allocations: 107.8 kB / 0.5171 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.4425, allocations: 92.8 kB / 0.5172 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.4426, allocations: 43.98 kB / 0.5172 GB, free: 3.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002186/0.4448, allocations: 1.346 MB / 0.5185 GB, free: 2.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4448, allocations: 4 kB / 0.5185 GB, free: 2.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001837/0.4466, allocations: 0.5507 MB / 0.5191 GB, free: 1.492 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.005754/0.4524, allocations: 3.934 MB / 0.5229 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.456, allocations: 2.114 MB / 0.525 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4561, allocations: 4 kB / 0.525 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4581, allocations: 1.159 MB / 0.5261 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.4606, allocations: 0.5086 MB / 0.5266 GB, free: 9.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2585/0.719, allocations: 20.62 MB / 0.5467 GB, free: 97.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.7206, allocations: 1.883 MB / 0.5486 GB, free: 97.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001249/0.7219, allocations: 497.5 kB / 0.5491 GB, free: 97.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.723, allocations: 1.07 MB / 0.5501 GB, free: 96.17 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.723, allocations: 3.875 kB / 0.5501 GB, free: 96.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08189/0.8049, allocations: 55.6 MB / 0.6044 GB, free: 41.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.83, allocations: 7.891 kB / 0.6044 GB, free: 41.52 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.69111461797729]