Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001825/0.001825, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002323/0.002323, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2868, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008075/0.2948, allocations: 7.777 MB / 404.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.2999, allocations: 2.758 MB / 406.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.3008, allocations: 81 kB / 407 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.3022, allocations: 0.583 MB / 407.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.3044, allocations: 0.7789 MB / 408.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3056, allocations: 445.8 kB / 408.8 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004547/0.3101, allocations: 3.404 MB / 412.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.3133, allocations: 1.918 MB / 414.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.317, allocations: 1.698 MB / 415.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.3206, allocations: 2.065 MB / 417.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000822/0.3214, allocations: 462.2 kB / 418.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.323, allocations: 0.7535 MB / 419.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.3243, allocations: 1.263 MB / 420.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.3268, allocations: 1.966 MB / 422.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007107/0.3339, allocations: 6.114 MB / 428.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3339, allocations: 0 / 428.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3339, allocations: 0 / 428.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001324/0.334, allocations: 0 / 428.4 MB, free: 3.152 MB / 334.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.008057/0.3421, allocations: 3.793 MB / 432.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3421, allocations: 15.98 kB / 432.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005771/0.3427, allocations: 429.9 kB / 432.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.3437, allocations: 406.6 kB / 433 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.3474, allocations: 1.912 MB / 434.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.3476, allocations: 221.8 kB / 435.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004453/0.348, allocations: 287.9 kB / 435.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006867/0.3549, allocations: 4.179 MB / 439.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.053e-05/0.3549, allocations: 0 / 439.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.3552, allocations: 124 kB / 439.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.3554, allocations: 141.9 kB / 439.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005911/0.3613, allocations: 3.486 MB / 443.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.3801, allocations: 10.69 MB / 454.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.3828, allocations: 1.64 MB / 455.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.3854, allocations: 1.411 MB / 457.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.3856, allocations: 48.95 kB / 457.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.3856, allocations: 47.56 kB / 457.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.546e-06/0.3856, allocations: 0 / 457.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009894/0.3955, allocations: 5.167 MB / 462.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.3956, allocations: 98.36 kB / 462.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.3986, allocations: 1.906 MB / 464.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.3987, allocations: 49.7 kB / 464.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.3999, allocations: 1.349 MB / 465.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/0.4003, allocations: 479.9 kB / 466.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.4008, allocations: 279.5 kB / 466.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4009, allocations: 309.1 kB / 466.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.4022, allocations: 0.812 MB / 467.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.4039, allocations: 1.191 MB / 468.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.4069, allocations: 2.087 MB / 470.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.407, allocations: 4 kB / 470.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004334/0.4113, allocations: 2.527 MB / 473.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.4113, allocations: 16.19 kB / 473.4 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.4113, allocations: 8 kB / 473.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.4133, allocations: 486.2 kB / 473.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4147, allocations: 331.5 kB / 474.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.4207, allocations: 4.3 MB / 478.6 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4221, allocations: 83.88 kB / 478.6 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.4223, allocations: 63.98 kB / 478.7 MB, free: 15.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.002367/0.4247, allocations: 1.044 MB / 479.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.4251, allocations: 198.8 kB / 479.9 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.4289, allocations: 2.141 MB / 482.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/0.4289, allocations: 16 kB / 482.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.4289, allocations: 4 kB / 482.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.429, allocations: 7.969 kB / 482.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009448/0.4384, allocations: 5.154 MB / 487.3 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.4384, allocations: 4 kB / 487.3 MB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009967/0.4394, allocations: 235.9 kB / 487.5 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.4412, allocations: 461 kB / 487.9 MB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/0.4413, allocations: 35.98 kB / 488 MB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005614/0.4469, allocations: 4.18 MB / 492.2 MB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.447, allocations: 4.031 kB / 492.2 MB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.4522, allocations: 3.252 MB / 495.4 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.4533, allocations: 390.7 kB / 495.8 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.4536, allocations: 35.98 kB / 495.8 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009718/0.4545, allocations: 95.95 kB / 495.9 MB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.4548, allocations: 104.6 kB / 496 MB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/0.4549, allocations: 40 kB / 496.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.457, allocations: 1.338 MB / 497.4 MB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.457, allocations: 0 / 497.4 MB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001838/0.4588, allocations: 0.5546 MB / 498 MB, free: 12.44 MB / 414.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.005938/0.4647, allocations: 3.935 MB / 0.4901 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003787/0.4685, allocations: 2.124 MB / 0.4922 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4685, allocations: 2 kB / 0.4922 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.4706, allocations: 1.171 MB / 0.4934 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.4727, allocations: 0.505 MB / 0.4938 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/0.5076, allocations: 20.65 MB / 0.514 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.5101, allocations: 2.427 MB / 0.5164 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.5116, allocations: 499.3 kB / 0.5169 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/0.5132, allocations: 1.069 MB / 0.5179 GB, free: 11.37 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5132, allocations: 0 / 0.5179 GB, free: 11.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3074/0.8206, allocations: 53.48 MB / 0.5701 GB, free: 147.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.4, allocations: 6.797 kB / 0.5701 GB, free: 147.4 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.068112936103716]