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.005484/0.005484, allocations: 114.2 kB / 21.97 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.001743/0.001743, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.375/1.375, allocations: 207.6 MB / 236 MB, free: 9.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="cs",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.001715/0.001715, allocations: 47.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2683, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007922/0.2762, allocations: 7.778 MB / 404.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.2816, allocations: 2.76 MB / 407.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.2831, allocations: 77.25 kB / 407.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.2843, allocations: 0.593 MB / 408.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.2865, allocations: 0.7664 MB / 409.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2877, allocations: 451.1 kB / 409.6 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004625/0.2923, allocations: 3.408 MB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.295, allocations: 1.912 MB / 414.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.2982, allocations: 1.689 MB / 416.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.3019, allocations: 2.073 MB / 418.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007884/0.3027, allocations: 461.6 kB / 419.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.3043, allocations: 0.75 MB / 419.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.3056, allocations: 1.255 MB / 421.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.3086, allocations: 1.976 MB / 423.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007495/0.3161, allocations: 6.112 MB / 429.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3161, allocations: 0 / 429.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3161, allocations: 3.938 kB / 429.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001725/0.3163, allocations: 0 / 429.2 MB, free: 3.164 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.01082/0.3271, allocations: 3.786 MB / 433 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.3272, allocations: 15.92 kB / 433 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001165/0.3273, allocations: 82.03 kB / 433.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007609/0.3281, allocations: 441.8 kB / 433.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3292, allocations: 402.6 kB / 433.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.3329, allocations: 1.904 MB / 435.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.3331, allocations: 221.8 kB / 436 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004851/0.3336, allocations: 295.9 kB / 436.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007796/0.3414, allocations: 4.179 MB / 440.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.3414, allocations: 0 / 440.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002848/0.3417, allocations: 124 kB / 440.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.3419, allocations: 137.9 kB / 440.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006303/0.3482, allocations: 3.493 MB / 444.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/0.3672, allocations: 10.69 MB / 454.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.3698, allocations: 1.644 MB / 456.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.3723, allocations: 1.411 MB / 458 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.3725, allocations: 48.95 kB / 458 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.3725, allocations: 47.56 kB / 458.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.517e-06/0.3725, allocations: 0 / 458.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009806/0.3823, allocations: 5.171 MB / 463.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.3824, allocations: 94.42 kB / 463.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.3856, allocations: 1.906 MB / 465.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3857, allocations: 53.69 kB / 465.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.3868, allocations: 1.345 MB / 466.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/0.3873, allocations: 479.9 kB / 467.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.3878, allocations: 279.5 kB / 467.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3879, allocations: 309.1 kB / 467.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.3893, allocations: 0.8159 MB / 468.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.3909, allocations: 1.183 MB / 469.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.3941, allocations: 2.087 MB / 471.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.3941, allocations: 0 / 471.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004677/0.3988, allocations: 2.531 MB / 474.3 MB, free: 5.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.3988, allocations: 16.09 kB / 474.3 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3988, allocations: 12 kB / 474.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.4007, allocations: 483.1 kB / 474.8 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.4021, allocations: 331.5 kB / 475.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.4081, allocations: 4.296 MB / 479.4 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.4097, allocations: 87.94 kB / 479.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.41, allocations: 63.98 kB / 479.6 MB, free: 15.9 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.002058/0.4121, allocations: 1.055 MB / 480.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/0.4127, allocations: 194.8 kB / 480.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.4168, allocations: 2.133 MB / 482.9 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.939e-05/0.4169, allocations: 16 kB / 483 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.4169, allocations: 4 kB / 483 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.4169, allocations: 7.969 kB / 483 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.4275, allocations: 5.161 MB / 488.1 MB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4275, allocations: 4 kB / 488.1 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4286, allocations: 227.9 kB / 488.4 MB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.4305, allocations: 465 kB / 488.8 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4306, allocations: 35.98 kB / 488.8 MB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005778/0.4364, allocations: 4.175 MB / 493 MB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.4364, allocations: 8.016 kB / 493 MB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.4421, allocations: 3.252 MB / 496.3 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.4433, allocations: 386.7 kB / 496.7 MB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/0.4438, allocations: 35.97 kB / 496.7 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.4451, allocations: 91.97 kB / 496.8 MB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.4453, allocations: 112.5 kB / 496.9 MB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.4455, allocations: 43.98 kB / 496.9 MB, free: 14.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002505/0.448, allocations: 1.334 MB / 498.3 MB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.448, allocations: 0 / 498.3 MB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00237/0.4503, allocations: 0.5546 MB / 498.8 MB, free: 12.37 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.00646/0.4568, allocations: 3.928 MB / 0.491 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003936/0.4607, allocations: 2.124 MB / 0.493 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4607, allocations: 1.875 kB / 0.493 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.4629, allocations: 1.171 MB / 0.4942 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.4659, allocations: 0.5128 MB / 0.4947 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/0.5042, allocations: 20.64 MB / 0.5149 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/0.5073, allocations: 2.427 MB / 0.5172 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001519/0.5088, allocations: 0.4915 MB / 0.5177 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/0.5105, allocations: 1.062 MB / 0.5187 GB, free: 11.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5105, allocations: 0 / 0.5187 GB, free: 11.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/0.7873, allocations: 53.52 MB / 0.571 GB, free: 147.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.95, allocations: 10.66 kB / 0.571 GB, free: 147.5 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.641354084946215]