Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 53.32 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2219/0.3318, allocations: 7.831 MB / 434.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.3359, allocations: 2.712 MB / 436.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007013/0.3366, allocations: 97.38 kB / 437 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.3378, allocations: 0.5853 MB / 437.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3396, allocations: 0.761 MB / 438.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.3404, allocations: 417.8 kB / 438.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.3436, allocations: 3.289 MB / 442 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.3466, allocations: 2.66 MB / 444.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.3499, allocations: 1.695 MB / 446.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.3531, allocations: 2.082 MB / 448.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007523/0.3539, allocations: 461.7 kB / 448.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3554, allocations: 0.666 MB / 449.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.3566, allocations: 1.253 MB / 450.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.3596, allocations: 1.971 MB / 452.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00834/0.3679, allocations: 6.125 MB / 458.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3679, allocations: 0 / 458.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3679, allocations: 4 kB / 458.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001451/0.3681, allocations: 0 / 458.9 MB, free: 11.09 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01113/0.3792, allocations: 3.894 MB / 462.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.3793, allocations: 12.98 kB / 462.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008178/0.3801, allocations: 428.7 kB / 463.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.3817, allocations: 452.2 kB / 463.7 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.386, allocations: 2.188 MB / 465.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.3862, allocations: 219.7 kB / 466.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004839/0.3867, allocations: 284.7 kB / 466.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007551/0.3942, allocations: 4.195 MB / 470.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.509e-05/0.3943, allocations: 0 / 470.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.3946, allocations: 117.5 kB / 470.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.3947, allocations: 140.6 kB / 470.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006208/0.4009, allocations: 3.494 MB / 474.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01946/0.4204, allocations: 10.79 MB / 485.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.4236, allocations: 2.551 MB / 487.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002697/0.4263, allocations: 1.423 MB / 489.1 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.4266, allocations: 127.1 kB / 489.2 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.4267, allocations: 43.56 kB / 489.2 MB, free: 1.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.4267, allocations: 0 / 489.2 MB, free: 1.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01078/0.4375, allocations: 5.2 MB / 494.4 MB, free: 12.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/0.4376, allocations: 94.42 kB / 494.5 MB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.4413, allocations: 1.918 MB / 496.4 MB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.4415, allocations: 49.7 kB / 496.5 MB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.4427, allocations: 1.361 MB / 497.8 MB, free: 8.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.4432, allocations: 479.9 kB / 498.3 MB, free: 8.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.4437, allocations: 275.5 kB / 498.6 MB, free: 7.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4439, allocations: 305.1 kB / 498.9 MB, free: 7.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.4453, allocations: 0.8159 MB / 499.7 MB, free: 6.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.4471, allocations: 1.182 MB / 0.4891 GB, free: 5.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/0.4502, allocations: 2.086 MB / 0.4912 GB, free: 3.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.4502, allocations: 0 / 0.4912 GB, free: 3.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004834/0.4551, allocations: 2.528 MB / 0.4936 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.4551, allocations: 8 kB / 0.4937 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.4551, allocations: 12 kB / 0.4937 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.4571, allocations: 475.1 kB / 0.4941 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4585, allocations: 331.5 kB / 0.4944 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.4647, allocations: 4.402 MB / 0.4987 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4663, allocations: 75.92 kB / 0.4988 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.4665, allocations: 63.98 kB / 0.4989 GB, free: 11.15 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.00224/0.4687, allocations: 1.059 MB / 0.4999 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007175/0.4694, allocations: 210.7 kB / 0.5001 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.4736, allocations: 2.125 MB / 0.5022 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/0.4737, allocations: 23.94 kB / 0.5022 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4737, allocations: 4 kB / 0.5022 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4737, allocations: 11.97 kB / 0.5022 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009593/0.4833, allocations: 5.17 MB / 0.5073 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4833, allocations: 7.984 kB / 0.5073 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4843, allocations: 231.9 kB / 0.5075 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.4862, allocations: 456.3 kB / 0.5079 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/0.4863, allocations: 31.98 kB / 0.508 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.492, allocations: 4.302 MB / 0.5122 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.492, allocations: 0 / 0.5122 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.4977, allocations: 3.254 MB / 0.5153 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.499, allocations: 467.7 kB / 0.5158 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.4993, allocations: 36.05 kB / 0.5158 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5003, allocations: 91.89 kB / 0.5159 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.5006, allocations: 100.8 kB / 0.516 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.5007, allocations: 43.92 kB / 0.516 GB, free: 9.242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002221/0.5029, allocations: 1.342 MB / 0.5174 GB, free: 7.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5029, allocations: 0 / 0.5174 GB, free: 7.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002013/0.5049, allocations: 0.5507 MB / 0.5179 GB, free: 7.355 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.006185/0.5111, allocations: 3.92 MB / 0.5217 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.5151, allocations: 2.125 MB / 0.5238 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5151, allocations: 7.875 kB / 0.5238 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002098/0.5172, allocations: 1.157 MB / 0.5249 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.5201, allocations: 0.5144 MB / 0.5254 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/0.5567, allocations: 20.56 MB / 0.5455 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/0.5592, allocations: 2.428 MB / 0.5479 GB, free: 7.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001567/0.5608, allocations: 0.4915 MB / 0.5484 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.5624, allocations: 1.069 MB / 0.5494 GB, free: 6.422 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5624, allocations: 0 / 0.5494 GB, free: 6.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/0.6766, allocations: 52.34 MB / 0.6005 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.15, allocations: 14.3 kB / 0.6005 GB, free: 2.539 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 16.816407361999154]