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.001628/0.001628, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.002518/0.002518, allocations: 208 kB / 24.53 MB, free: 4.066 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.501/1.501, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.0019/0.0019, allocations: 63.88 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 53.39 MB / 432 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01009/0.2869, allocations: 7.891 MB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.2928, allocations: 2.745 MB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.2942, allocations: 87.38 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.296, allocations: 0.5948 MB / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.2987, allocations: 0.7809 MB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.2998, allocations: 435.3 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004356/0.3041, allocations: 3.311 MB / 447.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.307, allocations: 2.007 MB / 449.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.3102, allocations: 1.716 MB / 451.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.314, allocations: 2.09 MB / 453.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008455/0.3148, allocations: 464 kB / 454.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.3163, allocations: 0.726 MB / 454.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.3176, allocations: 1.27 MB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003258/0.3209, allocations: 1.972 MB / 458 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007603/0.3285, allocations: 6.139 MB / 464.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.3285, allocations: 7.938 kB / 464.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3285, allocations: 4 kB / 464.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001767/0.3287, allocations: 0 / 464.2 MB, free: 6.465 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.009549/0.3382, allocations: 3.825 MB / 468 MB, free: 2.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3383, allocations: 8.031 kB / 468 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001004/0.3384, allocations: 78.05 kB / 468.1 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006785/0.339, allocations: 434 kB / 468.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.3405, allocations: 450.5 kB / 469 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.3447, allocations: 2.123 MB / 471.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3449, allocations: 229.9 kB / 471.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.3453, allocations: 287.9 kB / 471.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/0.3528, allocations: 4.222 MB / 475.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.3529, allocations: 4 kB / 475.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.3532, allocations: 116 kB / 475.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.3534, allocations: 149.9 kB / 476.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/0.3595, allocations: 3.505 MB / 479.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.3794, allocations: 11.01 MB / 490.6 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.3822, allocations: 1.659 MB / 492.3 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/0.3848, allocations: 1.399 MB / 493.7 MB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.3851, allocations: 52.95 kB / 493.7 MB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.3851, allocations: 47.56 kB / 493.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.439e-06/0.3852, allocations: 0 / 493.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01086/0.396, allocations: 5.136 MB / 498.9 MB, free: 3.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.3961, allocations: 94.42 kB / 499 MB, free: 3.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.3994, allocations: 1.925 MB / 0.4892 GB, free: 1.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.3996, allocations: 53.69 kB / 0.4892 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.4008, allocations: 1.369 MB / 0.4906 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.4013, allocations: 475.9 kB / 0.491 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005314/0.4019, allocations: 267.5 kB / 0.4913 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4021, allocations: 301.1 kB / 0.4916 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.4035, allocations: 0.8198 MB / 0.4924 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.4052, allocations: 1.182 MB / 0.4935 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.4083, allocations: 2.078 MB / 0.4955 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.4083, allocations: 4 kB / 0.4955 GB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00469/0.413, allocations: 2.523 MB / 0.498 GB, free: 7.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.413, allocations: 12 kB / 0.498 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.413, allocations: 8 kB / 0.498 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.415, allocations: 487.1 kB / 0.4985 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4163, allocations: 331.5 kB / 0.4988 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00588/0.4222, allocations: 4.297 MB / 0.503 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4236, allocations: 87.88 kB / 0.5031 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.4238, allocations: 59.98 kB / 0.5031 GB, free: 2.484 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.001921/0.4257, allocations: 1.056 MB / 0.5042 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/0.4262, allocations: 198.8 kB / 0.5044 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.43, allocations: 2.133 MB / 0.5064 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/0.43, allocations: 20 kB / 0.5065 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.43, allocations: 11.92 kB / 0.5065 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4301, allocations: 3.984 kB / 0.5065 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009344/0.4394, allocations: 5.162 MB / 0.5115 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4394, allocations: 4 kB / 0.5115 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009967/0.4404, allocations: 227.9 kB / 0.5117 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.4423, allocations: 460.2 kB / 0.5122 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4424, allocations: 39.92 kB / 0.5122 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.4481, allocations: 4.204 MB / 0.5163 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.4481, allocations: 7.969 kB / 0.5163 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/0.4541, allocations: 3.253 MB / 0.5195 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.4553, allocations: 390.6 kB / 0.5199 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.4555, allocations: 31.98 kB / 0.5199 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.4565, allocations: 95.84 kB / 0.52 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.4568, allocations: 100.9 kB / 0.5201 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/0.4569, allocations: 36 kB / 0.5201 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.459, allocations: 1.346 MB / 0.5214 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.459, allocations: 0 / 0.5214 GB, free: 15.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001784/0.4608, allocations: 0.5507 MB / 0.522 GB, free: 14.91 MB / 446.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.006072/0.4669, allocations: 3.937 MB / 0.5258 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00374/0.4706, allocations: 2.117 MB / 0.5279 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.4706, allocations: 0 / 0.5279 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.4726, allocations: 1.157 MB / 0.529 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.4752, allocations: 0.5215 MB / 0.5295 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.248/0.7232, allocations: 20.64 MB / 0.5497 GB, free: 96.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.7249, allocations: 2.442 MB / 0.5521 GB, free: 95.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.7262, allocations: 497.8 kB / 0.5526 GB, free: 94.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.7273, allocations: 1.069 MB / 0.5536 GB, free: 93.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.452e-06/0.7273, allocations: 0 / 0.5536 GB, free: 93.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08717/0.8145, allocations: 53.63 MB / 0.606 GB, free: 40.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.78, allocations: 7.188 kB / 0.606 GB, free: 40.55 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.624291664978955]