Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001957/0.001957, allocations: 120.4 kB / 17.79 MB, free: 5.355 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.002379/0.002379, allocations: 203.3 kB / 20.74 MB, free: 2.41 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.491/1.491, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2195/0.3412, allocations: 28.72 MB / 455 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.3594, allocations: 7.213 MB / 462.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006666/0.3661, allocations: 314.1 kB / 462.6 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03178/0.3979, allocations: 13.22 MB / 475.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.4114, allocations: 2.57 MB / 478.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008018/0.4195, allocations: 2.029 MB / 480.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02487/0.4443, allocations: 18.29 MB / 498.7 MB, free: 8.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06566/0.51, allocations: 34.26 MB / 0.5204 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01805/0.528, allocations: 10.12 MB / 0.5303 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01969/0.5477, allocations: 11.12 MB / 0.5412 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007803/0.5555, allocations: 2.922 MB / 0.544 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.5665, allocations: 3.195 MB / 0.5471 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009521/0.576, allocations: 5.503 MB / 0.5525 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02025/0.5963, allocations: 10.82 MB / 0.5631 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05258/0.6489, allocations: 39.1 MB / 0.6013 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.6489, allocations: 0 / 0.6013 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6489, allocations: 0 / 0.6013 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009732/0.6498, allocations: 3.938 kB / 0.6013 GB, free: 3.176 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.453/1.103, allocations: 22.31 MB / 0.6231 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/1.103, allocations: 8.875 kB / 0.6231 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01115/1.114, allocations: 2.96 MB / 0.626 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04743/1.161, allocations: 8.246 MB / 0.634 GB, free: 133 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02366/1.185, allocations: 11.68 MB / 0.6454 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001321/1.186, allocations: 1.342 MB / 0.6467 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006853/1.193, allocations: 1.758 MB / 0.6485 GB, free: 126.5 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06329/1.257, allocations: 28.78 MB / 0.6766 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006131/1.257, allocations: 19.89 kB / 0.6766 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005014/1.262, allocations: 0.7267 MB / 0.6773 GB, free: 102.6 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006251/1.263, allocations: 0.8454 MB / 0.6781 GB, free: 101.8 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04626/1.309, allocations: 24.83 MB / 0.7024 GB, free: 76.92 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.126/1.435, allocations: 87.52 MB / 0.7878 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03601/1.471, allocations: 34.6 MB / 0.8216 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01/1.481, allocations: 5.046 MB / 0.8265 GB, free: 9.723 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/1.482, allocations: 330.4 kB / 0.8269 GB, free: 9.359 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.288e-05/1.482, allocations: 99.08 kB / 0.827 GB, free: 9.25 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.043e-06/1.482, allocations: 0 / 0.827 GB, free: 9.25 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03819/1.52, allocations: 14.77 MB / 0.8414 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.52, allocations: 137.6 kB / 0.8415 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.532, allocations: 6.428 MB / 0.8478 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/1.533, allocations: 117.7 kB / 0.8479 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.4379/1.971, allocations: 7.9 MB / 0.8556 GB, free: 196.8 MB / 0.5921 GB Notification: Performance of collectInitialBindings (initialization): time 0.002214/1.973, allocations: 2.107 MB / 0.8577 GB, free: 195.8 MB / 0.5921 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003625/1.977, allocations: 2.115 MB / 0.8597 GB, free: 195.6 MB / 0.5921 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/1.977, allocations: 302.8 kB / 0.86 GB, free: 195.3 MB / 0.5921 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008673/1.986, allocations: 4.744 MB / 0.8647 GB, free: 195 MB / 0.5921 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/1.997, allocations: 9.467 MB / 0.8739 GB, free: 187.2 MB / 0.5921 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01934/2.017, allocations: 15.34 MB / 0.8889 GB, free: 176 MB / 0.5921 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003165/2.017, allocations: 50.12 kB / 0.8889 GB, free: 176 MB / 0.5921 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02734/2.044, allocations: 15.41 MB / 0.904 GB, free: 169.8 MB / 0.5921 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/2.044, allocations: 72.31 kB / 0.904 GB, free: 169.8 MB / 0.5921 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/2.045, allocations: 160.3 kB / 0.9042 GB, free: 169.8 MB / 0.5921 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005239/2.05, allocations: 1.658 MB / 0.9058 GB, free: 169.5 MB / 0.5921 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008289/2.058, allocations: 2.361 MB / 0.9081 GB, free: 169.3 MB / 0.5921 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/2.072, allocations: 11.62 MB / 0.9195 GB, free: 163 MB / 0.5921 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008715/2.081, allocations: 1.372 MB / 0.9208 GB, free: 162.5 MB / 0.5921 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00238/2.083, allocations: 0.5314 MB / 0.9213 GB, free: 162.1 MB / 0.5921 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01139/2.094, allocations: 7.145 MB / 0.9283 GB, free: 156.2 MB / 0.5921 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.096, allocations: 0.6442 MB / 0.9289 GB, free: 155.6 MB / 0.5921 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/2.109, allocations: 10.07 MB / 0.9388 GB, free: 147.2 MB / 0.5921 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009452/2.119, allocations: 7.765 MB / 0.9464 GB, free: 139.8 MB / 0.5921 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/2.119, allocations: 15.94 kB / 0.9464 GB, free: 139.7 MB / 0.5921 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/2.119, allocations: 33.2 kB / 0.9464 GB, free: 139.7 MB / 0.5921 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04048/2.159, allocations: 25.7 MB / 0.9715 GB, free: 113.9 MB / 0.5921 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/2.159, allocations: 8 kB / 0.9715 GB, free: 113.9 MB / 0.5921 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/2.163, allocations: 1.026 MB / 0.9725 GB, free: 112.8 MB / 0.5921 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004724/2.168, allocations: 1.462 MB / 0.9739 GB, free: 111.4 MB / 0.5921 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005933/2.168, allocations: 132 kB / 0.9741 GB, free: 111.3 MB / 0.5921 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/2.18, allocations: 11.16 MB / 0.985 GB, free: 99.98 MB / 0.5921 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/2.18, allocations: 15.92 kB / 0.985 GB, free: 99.97 MB / 0.5921 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/2.196, allocations: 14.14 MB / 0.9988 GB, free: 85.48 MB / 0.5921 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002886/2.199, allocations: 1.479 MB / 1 GB, free: 83.98 MB / 0.5921 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008814/2.2, allocations: 104.7 kB / 1 GB, free: 83.88 MB / 0.5921 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/2.203, allocations: 315.6 kB / 1.001 GB, free: 83.57 MB / 0.5921 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007196/2.204, allocations: 412.4 kB / 1.001 GB, free: 83.16 MB / 0.5921 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/2.204, allocations: 172 kB / 1.001 GB, free: 83 MB / 0.5921 GB Notification: Performance of sorting global known variables: time 0.005654/2.21, allocations: 4.309 MB / 1.005 GB, free: 78.72 MB / 0.5921 GB Notification: Performance of sort global known variables: time 7e-08/2.21, allocations: 4 kB / 1.005 GB, free: 78.71 MB / 0.5921 GB Notification: Performance of remove unused functions: time 0.01175/2.221, allocations: 4.089 MB / 1.009 GB, free: 74.61 MB / 0.5921 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01785/2.239, allocations: 14.93 MB / 1.024 GB, free: 59.34 MB / 0.5921 GB Notification: Performance of simCode: created initialization part: time 0.01508/2.254, allocations: 10.95 MB / 1.035 GB, free: 48.34 MB / 0.5921 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/2.254, allocations: 7.5 kB / 1.035 GB, free: 48.34 MB / 0.5921 GB Notification: Performance of simCode: created simulation system equations: time 0.006757/2.261, allocations: 4.347 MB / 1.039 GB, free: 43.98 MB / 0.5921 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007852/2.269, allocations: 1.569 MB / 1.04 GB, free: 42.47 MB / 0.5921 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3661/2.635, allocations: 94.47 MB / 1.133 GB, free: 150.8 MB / 0.5921 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01925/2.654, allocations: 11.25 MB / 1.144 GB, free: 143.7 MB / 0.5921 GB Notification: Performance of simCode: alias equations: time 0.008972/2.663, allocations: 3.774 MB / 1.147 GB, free: 140 MB / 0.5921 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008778/2.672, allocations: 5.955 MB / 1.153 GB, free: 134 MB / 0.5921 GB Notification: Performance of SimCode: time 9.62e-07/2.672, allocations: 0 / 1.153 GB, free: 134 MB / 0.5921 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.501/3.173, allocations: 208.8 MB / 1.357 GB, free: 166.5 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.18/29.36, allocations: 5.062 kB / 1.357 GB, free: 166.5 MB / 0.6077 GB " [Timeout remaining time 630] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 32.48410952393897]