Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008019/0.009117, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009923/0.0009923, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002366, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.95/0.95, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07494/1.025, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.148e-05, allocations: 6.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01809/0.0181, allocations: 26.73 MB / 266.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.03245, allocations: 7.619 MB / 273.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006407/0.03886, allocations: 314.4 kB / 274.2 MB, free: 376 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1279/0.1667, allocations: 13.94 MB / 288.1 MB, free: 324 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007808/0.1745, allocations: 2.808 MB / 291 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.1787, allocations: 1.872 MB / 292.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.1947, allocations: 19.05 MB / 311.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04089/0.2356, allocations: 28.44 MB / 340.3 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02615/0.2618, allocations: 15.67 MB / 356 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01454/0.2763, allocations: 11.32 MB / 367.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005869/0.2822, allocations: 2.922 MB / 370.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008108/0.2903, allocations: 3.182 MB / 373.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006173/0.2965, allocations: 4.475 MB / 377.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01531/0.3118, allocations: 6.127 MB / 384 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02407/0.3358, allocations: 17.38 MB / 401.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.655e-05/0.3359, allocations: 0 / 401.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3359, allocations: 0 / 401.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006887/0.3365, allocations: 0 / 401.4 MB, free: 13.74 MB / 378.7 MB 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.2717/0.6082, allocations: 24.37 MB / 425.8 MB, free: 84.21 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6082, allocations: 11.34 kB / 425.8 MB, free: 84.21 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/0.635, allocations: 8.605 MB / 434.4 MB, free: 83.36 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.6489, allocations: 5.963 MB / 440.3 MB, free: 81.36 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007985/0.6497, allocations: 1.344 MB / 441.7 MB, free: 80.75 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004143/0.6538, allocations: 1.765 MB / 443.5 MB, free: 80.16 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03215/0.686, allocations: 14.4 MB / 457.9 MB, free: 69.42 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005172/0.6865, allocations: 15.81 kB / 457.9 MB, free: 69.41 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003208/0.6897, allocations: 0.7261 MB / 458.6 MB, free: 68.69 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005864/0.6903, allocations: 0.8452 MB / 459.4 MB, free: 67.85 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.7103, allocations: 6.924 MB / 466.4 MB, free: 60.9 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07526/0.7855, allocations: 53.71 MB / 0.5079 GB, free: 9.562 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/0.7925, allocations: 6.651 MB / 0.5144 GB, free: 3.039 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/0.7951, allocations: 2.092 MB / 0.5164 GB, free: 1 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/0.7954, allocations: 144.5 kB / 0.5166 GB, free: 0.8555 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.7955, allocations: 91.08 kB / 0.5167 GB, free: 0.7539 MB / 378.8 MB Notification: Performance of pre-optimization done (n=577): time 7.414e-06/0.7955, allocations: 0 / 0.5167 GB, free: 0.7539 MB / 378.8 MB Notification: Performance of matching and sorting (n=577): time 0.01335/0.8088, allocations: 6.616 MB / 0.5231 GB, free: 10.15 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.8089, allocations: 111.9 kB / 0.5232 GB, free: 10.02 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.8132, allocations: 4.157 MB / 0.5273 GB, free: 6.949 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.8135, allocations: 117.7 kB / 0.5274 GB, free: 6.828 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003247/0.8168, allocations: 7.347 MB / 0.5346 GB, free: 15.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.8182, allocations: 2.085 MB / 0.5366 GB, free: 13.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.82, allocations: 1.909 MB / 0.5385 GB, free: 12.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.8201, allocations: 305.1 kB / 0.5388 GB, free: 11.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.8219, allocations: 1.448 MB / 0.5402 GB, free: 10.37 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/0.8253, allocations: 5.724 MB / 0.5458 GB, free: 2.723 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008286/0.8336, allocations: 8.089 MB / 0.5537 GB, free: 9.207 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/0.8338, allocations: 44 kB / 0.5537 GB, free: 9.164 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01046/0.8442, allocations: 6.716 MB / 0.5603 GB, free: 3.465 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.8443, allocations: 76.09 kB / 0.5603 GB, free: 3.391 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/0.8445, allocations: 164 kB / 0.5605 GB, free: 3.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/0.8484, allocations: 1.515 MB / 0.562 GB, free: 1.727 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1546/1.003, allocations: 2.441 MB / 0.5644 GB, free: 108.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/1.011, allocations: 5.569 MB / 0.5698 GB, free: 106.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/1.018, allocations: 1.182 MB / 0.5709 GB, free: 106.9 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/1.019, allocations: 447.5 kB / 0.5714 GB, free: 106.9 MB / 426.8 MB 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.005138/1.024, allocations: 0.8427 MB / 0.5722 GB, free: 106.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.025, allocations: 0.5293 MB / 0.5727 GB, free: 106.8 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/1.031, allocations: 4.431 MB / 0.577 GB, free: 106.4 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002663/1.033, allocations: 2.167 MB / 0.5792 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.033, allocations: 11.91 kB / 0.5792 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/1.034, allocations: 30.7 kB / 0.5792 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.055, allocations: 12.87 MB / 0.5918 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.055, allocations: 9.781 kB / 0.5918 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.057, allocations: 0.9738 MB / 0.5927 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/1.059, allocations: 0.827 MB / 0.5935 GB, free: 104.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/1.062, allocations: 1.333 MB / 0.5948 GB, free: 104.8 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.062, allocations: 112.4 kB / 0.5949 GB, free: 104.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/1.068, allocations: 5.159 MB / 0.6 GB, free: 103.3 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.068, allocations: 12.69 kB / 0.6 GB, free: 103.3 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/1.074, allocations: 4.51 MB / 0.6044 GB, free: 101.9 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.075, allocations: 124.3 kB / 0.6045 GB, free: 101.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/1.076, allocations: 149.4 kB / 0.6047 GB, free: 101.7 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005305/1.077, allocations: 409.6 kB / 0.6051 GB, free: 101.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.077, allocations: 117.1 kB / 0.6052 GB, free: 101.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001987/1.079, allocations: 1.832 MB / 0.607 GB, free: 101.4 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.01e-07/1.079, allocations: 0 / 0.607 GB, free: 101.4 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008062/1.087, allocations: 4.102 MB / 0.611 GB, free: 100 MB / 426.8 MB 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.0007597/1.088, allocations: 340.1 kB / 0.6113 GB, free: 99.87 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006015/1.094, allocations: 5.121 MB / 0.6163 GB, free: 97.48 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003148/1.094, allocations: 170.8 kB / 0.6164 GB, free: 97.29 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.096, allocations: 2.178 MB / 0.6186 GB, free: 95.52 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.101, allocations: 1.966 MB / 0.6205 GB, free: 93.85 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1055/1.206, allocations: 26.37 MB / 0.6462 GB, free: 67.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004962/1.211, allocations: 3.487 MB / 0.6496 GB, free: 64.27 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003549/1.215, allocations: 1.117 MB / 0.6507 GB, free: 63.15 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/1.217, allocations: 1.359 MB / 0.6521 GB, free: 61.77 MB / 426.8 MB Notification: Performance of SimCode: time 2.484e-06/1.217, allocations: 4 kB / 0.6521 GB, free: 61.77 MB / 426.8 MB Notification: Performance of Templates: time 0.281/1.498, allocations: 102.3 MB / 0.752 GB, free: 120.1 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.875175506807864]